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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c2b8e07 was 617118d, checked in by Jim Gifford <clfs@…>, 19 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.