diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 877339b731b6..eb9fdba53e3e 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -158,7 +158,7 @@ main(argc, argv) verbose = 1; break; case 'r': - init_flags |= MNT_RDONLY; + options = catopt(options, "ro"); break; case 't': if (vfslist != NULL) @@ -173,7 +173,7 @@ main(argc, argv) verbose = 1; break; case 'w': - init_flags &= ~MNT_RDONLY; + options = catopt(options, "noro"); break; case '?': default: