summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>2004-01-29 13:16:51 +0000
committerguido <guido@FreeBSD.org>2004-01-29 13:16:51 +0000
commit5133532cb7179f431deff35c5a5f3e4f8d333a17 (patch)
tree077f4503f9e3c6a9021c0bb8b933f98c0b2c6e14 /sbin
parent708713d12b9abb7ddc0eca2e108944336ff49028 (diff)
downloadFreeBSD-src-5133532cb7179f431deff35c5a5f3e4f8d333a17.zip
FreeBSD-src-5133532cb7179f431deff35c5a5f3e4f8d333a17.tar.gz
Unbreak -o fstab and -o current in combination with -a
MFC after: 2 weeks
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index e3f7bf2..8c825d0 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -210,6 +210,8 @@ main(argc, argv)
if (!(init_flags & MNT_UPDATE) &&
ismounted(fs, mntbuf, mntsize))
continue;
+ options = update_options(options, fs->fs_mntops,
+ mntbuf->f_flags);
if (mountfs(fs->fs_vfstype, fs->fs_spec,
fs->fs_file, init_flags, options,
fs->fs_mntops))
OpenPOWER on IntegriCloud