projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1893c5
)
Be certain we use a correct entity when performing the
author
Eric Andersen
<andersen@codepoet.org>
Fri, 12 Dec 2003 19:05:15 +0000
(19:05 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Fri, 12 Dec 2003 19:05:15 +0000
(19:05 -0000)
BLKGETSIZE64 ioctl -- don't just assume 8,
util-linux/fdisk.c
patch
|
blob
|
history
diff --git
a/util-linux/fdisk.c
b/util-linux/fdisk.c
index bd929d88db5aab7ac7551f84a3c3158f96696407..31a7d8076b5889d47d1618b789a5f47fe162365a 100644
(file)
--- 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