summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/nfsclient/bootp_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index 903aee0..ee1e824 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -600,7 +600,7 @@ bootpc_call(struct bootpc_globalcontext *gctx, struct thread *td)
*/
error = socreate(AF_INET, &so, SOCK_DGRAM, 0, td->td_ucred, td);
if (error != 0)
- goto out;
+ goto out0;
tv.tv_sec = 1;
tv.tv_usec = 0;
@@ -969,6 +969,7 @@ bootpc_call(struct bootpc_globalcontext *gctx, struct thread *td)
gotreply:
out:
soclose(so);
+out0:
return error;
}
OpenPOWER on IntegriCloud