aboutsummaryrefslogtreecommitdiff
path: root/util-linux/fdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/fdisk.c')
-rw-r--r--util-linux/fdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 2374960df..f35aeb9f3 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -52,7 +52,7 @@
52#define BLKSSZGET _IO(0x12,104) /* get block device sector size */ 52#define BLKSSZGET _IO(0x12,104) /* get block device sector size */
53 53
54/* Avoid conflicts with the 2.6 kernel headers, which define 54/* Avoid conflicts with the 2.6 kernel headers, which define
55 * _IOR rather differently */ 55 * _IOR rather differently */
56#undef _IOR 56#undef _IOR
57#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) 57#define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
58#define BLKGETSIZE64 _IOR(0x12,114,uint64_t) 58#define BLKGETSIZE64 _IOR(0x12,114,uint64_t)
@@ -4279,7 +4279,7 @@ read_int(uint low, uint dflt, uint high, uint base, char *mesg)
4279 4279
4280 while (isdigit(*++line_ptr)) 4280 while (isdigit(*++line_ptr))
4281 use_default = 0; 4281 use_default = 0;
4282 4282
4283 switch (*line_ptr) { 4283 switch (*line_ptr) {
4284 case 'c': 4284 case 'c':
4285 case 'C': 4285 case 'C':