From: Eric Andersen Date: Fri, 12 Dec 2003 19:05:15 +0000 (-0000) Subject: Be certain we use a correct entity when performing the X-Git-Tag: 1_00_pre5~47 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d4f7a5edadb7529e407a5367fbb8af4c866e2598;p=oweals%2Fbusybox.git Be certain we use a correct entity when performing the BLKGETSIZE64 ioctl -- don't just assume 8, --- diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index bd929d88d..31a7d8076 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c @@ -60,7 +60,7 @@ * _IOR rather differently */ #undef _IOR #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) -#define BLKGETSIZE64 _IOR(0x12,114,8) /* 8 = sizeof(u64) */ +#define BLKGETSIZE64 _IOR(0x12,114,uint64_t) /* fdisk.h