source:
scripts/patches/e2fsprogs-1.34-2.6.0hdr-fix.patch@
76a1d35
Last change on this file since 76a1d35 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 738 bytes |
-
misc/util.c
diff -X /usr/src/dontdiff -urN e2fsprogs-old/misc/util.c e2fsprogs-1.34/misc/util.c
old new 108 108 #define MAJOR(dev) ((dev)>>8) 109 109 #define MINOR(dev) ((dev) & 0xff) 110 110 #endif 111 #ifndef SCSI_BLK_MAJOR 112 #define SCSI_BLK_MAJOR(M) ((M) == SCSI_DISK_MAJOR || (M) == SCSI_CDROM_MAJOR) 113 #endif 114 if (((MAJOR(s.st_rdev) == HD_MAJOR && 115 MINOR(s.st_rdev)%64 == 0) || 116 (SCSI_BLK_MAJOR(MAJOR(s.st_rdev)) && 117 MINOR(s.st_rdev)%16 == 0))) { 111 if (MAJOR(s.st_rdev) == HD_MAJOR && 112 MINOR(s.st_rdev)%64 == 0) { 118 113 printf(_("%s is entire device, not just one partition!\n"), 119 114 device); 120 115 proceed_question();
Note:
See TracBrowser
for help on using the repository browser.