MFp4: print a more useful error when we don't have a /dev to mount devfs

on..
This commit is contained in:
John-Mark Gurney 2005-03-16 08:04:39 +00:00
parent 98c8f18cf0
commit 2a77000b75
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143683

View File

@ -1101,7 +1101,7 @@ devfs_fixup(struct thread *td)
NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, "/dev", td);
error = namei(&nd);
if (error) {
printf("Lookup /dev -> %d\n", error);
printf("Lookup of /dev for devfs, error: %d\n", error);
return;
}
NDFREE(&nd, NDF_ONLY_PNBUF);