aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_mountroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_mountroot.c')
-rw-r--r--sys/kern/vfs_mountroot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c
index 3b968fd19bbd..65d52cc68bcd 100644
--- a/sys/kern/vfs_mountroot.c
+++ b/sys/kern/vfs_mountroot.c
@@ -1138,8 +1138,7 @@ parse_mountroot_options(struct mntarg *ma, const char *options)
*val = '\0';
++val;
}
- if( strcmp(name, "rw") == 0 ||
- strcmp(name, "noro") == 0) {
+ if (strcmp(name, "rw") == 0 || strcmp(name, "noro") == 0) {
/*
* The first time we mount the root file system,
* we need to mount 'ro', so We need to ignore