summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Brueffer <brueffer@FreeBSD.org>2010-01-05 20:18:41 +0000
committerChristian Brueffer <brueffer@FreeBSD.org>2010-01-05 20:18:41 +0000
commit7b331f63c50f0aca103eefcb1625e91b0bced0de (patch)
treedf8d7211d20cb2b081c8b87b1aed4b017c757caa
parentc4ecd13b77745800707a3f1b958683eee566b5d1 (diff)
Notes
-rw-r--r--lib/libc/rpc/getnetpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/getnetpath.c b/lib/libc/rpc/getnetpath.c
index 0563544df2af3..d1ea554aa7b5c 100644
--- a/lib/libc/rpc/getnetpath.c
+++ b/lib/libc/rpc/getnetpath.c
@@ -101,7 +101,7 @@ setnetpath()
if ((np_sessionp->nc_handlep = setnetconfig()) == NULL) {
free(np_sessionp);
syslog (LOG_ERR, "rpc: failed to open " NETCONFIG);
- goto failed;
+ return (NULL);
}
np_sessionp->valid = NP_VALID;
np_sessionp->ncp_list = NULL;