From 748e259bc447125956434314c5fb0f4e0bdf8949 Mon Sep 17 00:00:00 2001 From: Craig Rodrigues Date: Sat, 3 Dec 2005 01:57:58 +0000 Subject: [PATCH] Simplify parsing of mount options by passing "rw" option down to kernel, since vfs_donmount() can now parse it. --- sbin/mount/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c index 770be86520a6..17e08ebc6c9f 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; }