If vfs_mountroot_try() isn't given a path to try mounting, return a silent

error rather than complaining about it verbosely.  No path is not really
a failure, but the diagnostic was confusing and unuseful.
This commit is contained in:
Mike Smith 1999-11-21 08:05:50 +00:00
parent 95dc37f68d
commit b3be35ee5e
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);