diff --git a/external/cddl/osnet/sys/kern/vfs.c b/external/cddl/osnet/sys/kern/vfs.c index 7433fbfa962e..471522e53e19 100644 --- a/external/cddl/osnet/sys/kern/vfs.c +++ b/external/cddl/osnet/sys/kern/vfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: vfs.c,v 1.1 2009/08/07 20:57:57 haad Exp $ */ +/* $NetBSD: vfs.c,v 1.2 2009/10/11 10:54:52 haad Exp $ */ /*- * Copyright (c) 2006-2007 Pawel Jakub Dawidek @@ -51,7 +51,7 @@ lookupname(char *dirname, enum uio_seg seg, vnode_t **dirvpp, vnode_t **compvpp) KASSERT(dirvpp == NULL); - namei_simple_kernel(dirname, NSM_FOLLOW_NOEMULROOT, compvpp); + error = namei_simple_kernel(dirname, NSM_FOLLOW_NOEMULROOT, compvpp); return error; }