From 0571bed7ae0b2e4f6160d4cb7f6776d676cb6b9a Mon Sep 17 00:00:00 2001 From: pjd Date: Fri, 15 Dec 2006 18:16:47 +0000 Subject: Fix ggated for platforms with 64bit size_t. The DIOCGSECTORSIZE ioctl returns u_int. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported by: Javier Martín Rueda PR: amd64/91799 MFC after: 3 days --- sbin/ggate/ggated/ggated.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/ggate/ggated') diff --git a/sbin/ggate/ggated/ggated.c b/sbin/ggate/ggated/ggated.c index 82d66e1..b0dd2d2 100644 --- a/sbin/ggate/ggated/ggated.c +++ b/sbin/ggate/ggated/ggated.c @@ -60,7 +60,7 @@ struct ggd_connection { off_t c_mediasize; - off_t c_sectorsize; + u_int c_sectorsize; unsigned c_flags; /* flags (RO/RW) */ int c_diskfd; int c_sendfd; -- cgit v1.1