Be certain we use a correct entity when performing the

BLKGETSIZE64 ioctl -- don't just assume 8,
This commit is contained in:
Eric Andersen 2003-12-12 19:05:15 +00:00
parent c1893c5801
commit d4f7a5edad

View File

@ -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