Be certain we use a correct entity when performing the BLKGETSIZE64 ioctl -- don't just assume 8,
No binary (build failed)
—
(log yok)
| @@ -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 | |