summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/bootp_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfsclient/bootp_subr.c')
-rw-r--r--sys/nfsclient/bootp_subr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index 6dbfc4c..993e0c5 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -752,13 +752,8 @@ bootpc_call(struct bootpc_globalcontext *gctx, struct thread *td)
error = sosend(so, (struct sockaddr *) &dst,
&auio, NULL, NULL, 0, td);
if (error != 0) {
- int sostate;
-
- SOCK_LOCK(so);
- sostate = (int)so->so_state;
- SOCK_UNLOCK(so);
printf("bootpc_call: sosend: %d state %08x\n",
- error, sostate);
+ error, (int) so->so_state);
}
/* XXX: Is this needed ? */
OpenPOWER on IntegriCloud