source: patches/e2fsprogs-1.34-2.6.0hdr-fix.patch @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
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  
    108108#define MAJOR(dev)      ((dev)>>8)
    109109#define MINOR(dev)      ((dev) & 0xff)
    110110#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) {
    118113                printf(_("%s is entire device, not just one partition!\n"),
    119114                       device);
    120115                proceed_question();
Note: See TracBrowser for help on using the repository browser.