Be certain we use a correct entity when performing the
BLKGETSIZE64 ioctl -- don't just assume 8,
This commit is contained in:
parent
c1893c5801
commit
d4f7a5edad
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user