diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-12-03 01:57:58 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-12-03 01:57:58 +0000 |
commit | afd142410c5732012bad5df32b418b7129c6f7b0 (patch) | |
tree | 78b7f5c65d5133b67925f80e7cf9955ca74bb26b /sbin/mount | |
parent | f5d614cb59a5721dbad4273269e95073975280f9 (diff) | |
download | FreeBSD-src-afd142410c5732012bad5df32b418b7129c6f7b0.zip FreeBSD-src-afd142410c5732012bad5df32b418b7129c6f7b0.tar.gz |
Simplify parsing of mount options by passing
"rw" option down to kernel, since vfs_donmount() can now parse it.
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 770be86..17e08eb 100644 --- a/sbin/mount/mount.c +++ b/sbin/mount/mount.c @@ -644,7 +644,7 @@ mangle(options, argcp, argv) *p = '\0'; argv[argc++] = p+1; } - } else if (strcmp(p, "rw") != 0) { + } else { argv[argc++] = strdup("-o"); argv[argc++] = p; } |