diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-12-12 19:05:15 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-12-12 19:05:15 +0000 |
commit | 56e874c57638994a7ec56d08b41986f5c1a67f2d (patch) | |
tree | b0e694eedea892e0db5203a8b296b406c2ef94ca | |
parent | d34089b648f3b59fe4746ff99c355c48b2b77d40 (diff) | |
download | busybox-w32-56e874c57638994a7ec56d08b41986f5c1a67f2d.tar.gz busybox-w32-56e874c57638994a7ec56d08b41986f5c1a67f2d.tar.bz2 busybox-w32-56e874c57638994a7ec56d08b41986f5c1a67f2d.zip |
Be certain we use a correct entity when performing the
BLKGETSIZE64 ioctl -- don't just assume 8,
git-svn-id: svn://busybox.net/trunk/busybox@8083 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | util-linux/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
60 | * _IOR rather differently */ | 60 | * _IOR rather differently */ |
61 | #undef _IOR | 61 | #undef _IOR |
62 | #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) | 62 | #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) |
63 | #define BLKGETSIZE64 _IOR(0x12,114,8) /* 8 = sizeof(u64) */ | 63 | #define BLKGETSIZE64 _IOR(0x12,114,uint64_t) |
64 | 64 | ||
65 | /* | 65 | /* |
66 | fdisk.h | 66 | fdisk.h |