diff options
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index 565dccd9a..899bf8557 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -1428,7 +1428,7 @@ int mount_main(int argc, char **argv) | |||
1428 | const char *fstabname; | 1428 | const char *fstabname; |
1429 | FILE *fstab; | 1429 | FILE *fstab; |
1430 | int i, j, rc = 0; | 1430 | int i, j, rc = 0; |
1431 | unsigned long opt; | 1431 | unsigned opt; |
1432 | struct mntent mtpair[2], *mtcur = mtpair; | 1432 | struct mntent mtpair[2], *mtcur = mtpair; |
1433 | 1433 | ||
1434 | /* parse long options, like --bind and --move. Note that -o option | 1434 | /* parse long options, like --bind and --move. Note that -o option |
@@ -1444,7 +1444,7 @@ int mount_main(int argc, char **argv) | |||
1444 | 1444 | ||
1445 | // Parse remaining options | 1445 | // Parse remaining options |
1446 | 1446 | ||
1447 | opt = bb_getopt_ulflags(argc, argv, "o:t:rwanfvs", &opt_o, &fstype); | 1447 | opt = getopt32(argc, argv, "o:t:rwanfvs", &opt_o, &fstype); |
1448 | if (opt & 0x1) append_mount_options(&cmdopts, opt_o); // -o | 1448 | if (opt & 0x1) append_mount_options(&cmdopts, opt_o); // -o |
1449 | //if (opt & 0x2) // -t | 1449 | //if (opt & 0x2) // -t |
1450 | if (opt & 0x4) append_mount_options(&cmdopts, "ro"); // -r | 1450 | if (opt & 0x4) append_mount_options(&cmdopts, "ro"); // -r |