diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-14 21:34:15 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-14 21:34:15 +0300 |
commit | 23961b2fd39d1c8e8d623c15fc12dc7b1b91a1be (patch) | |
tree | 1445b2701688aec2cdfecb76c913e80adbfb7b4e | |
parent | dbb58a3879c2daa3e286a8cd9da7935e264f3072 (diff) |
more bionic fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | miscutils/eject.c | 2 | ||||
-rw-r--r-- | util-linux/minix.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/miscutils/eject.c b/miscutils/eject.c index 15eaf556d..e33d79127 100644 --- a/miscutils/eject.c +++ b/miscutils/eject.c @@ -73,7 +73,7 @@ static void eject_scsi(const char *dev) ioctl(dev_fd, BLKRRPART); } #else -# define eject_scsi() ((void)0) +# define eject_scsi(dev) ((void)0) #endif /* various defines swiped from linux/cdrom.h */ diff --git a/util-linux/minix.h b/util-linux/minix.h index e0fbcf761..83ffe6da5 100644 --- a/util-linux/minix.h +++ b/util-linux/minix.h @@ -61,9 +61,14 @@ enum { MINIX_ROOT_INO = 1, MINIX_BAD_INO = 2, +#undef MINIX1_SUPER_MAGIC MINIX1_SUPER_MAGIC = 0x137F, /* original minix fs */ +#undef MINIX1_SUPER_MAGIC2 MINIX1_SUPER_MAGIC2 = 0x138F, /* minix fs, 30 char names */ +/* bionic has this define */ +#undef MINIX2_SUPER_MAGIC MINIX2_SUPER_MAGIC = 0x2468, /* minix V2 fs */ +#undef MINIX2_SUPER_MAGIC2 MINIX2_SUPER_MAGIC2 = 0x2478, /* minix V2 fs, 30 char names */ MINIX_VALID_FS = 0x0001, /* clean fs */ MINIX_ERROR_FS = 0x0002, /* fs has errors */ |