summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index c2fa605..57d994c 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -173,7 +173,7 @@ vfs_mountroot_try(char *mountfrom)
error = EINVAL;
if (mountfrom == NULL)
- goto done;
+ return(error); /* don't complain */
printf("Mounting root from %s\n", mountfrom);
OpenPOWER on IntegriCloud