← Commit list

d4f7a5eda

Eric Andersen
Eric Andersen
2003-12-12
FAILED Duration: 69s

Subject

Be certain we use a correct entity when performing the BLKGETSIZE64 ioctl -- don't just assume 8,

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/fdisk.c+1 -1
@@ -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