summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorEric Andersen2003-12-12 19:05:15 +0000
committerEric Andersen2003-12-12 19:05:15 +0000
commitd4f7a5edadb7529e407a5367fbb8af4c866e2598 (patch)
treeb0e694eedea892e0db5203a8b296b406c2ef94ca /util-linux
parentc1893c5801b04374917408784688ca9dcfdfe1dc (diff)
downloadbusybox-d4f7a5edadb7529e407a5367fbb8af4c866e2598.zip
busybox-d4f7a5edadb7529e407a5367fbb8af4c866e2598.tar.gz
Be certain we use a correct entity when performing the
BLKGETSIZE64 ioctl -- don't just assume 8,
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index bd929d8..31a7d80 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