aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient/bootp_subr.c
diff options
context:
space:
mode:
authorSeigo Tanimura <tanimura@FreeBSD.org>2002-05-31 11:52:35 +0000
committerSeigo Tanimura <tanimura@FreeBSD.org>2002-05-31 11:52:35 +0000
commit4cc20ab1f0f3d1126126327aa298ab88c974c53d (patch)
tree9d5f24794525313566896ab89aa860515db344a6 /sys/nfsclient/bootp_subr.c
parentc82593cf2c9a5b4ccd2be043f6c9ccc8af22fcc9 (diff)
downloadsrc-4cc20ab1f0f3d1126126327aa298ab88c974c53d.tar.gz
src-4cc20ab1f0f3d1126126327aa298ab88c974c53d.zip
Back out my lats commit of locking down a socket, it conflicts with hsu's work.
Requested by: hsu
Notes
Notes: svn path=/head/; revision=97658
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 6dbfc4c67f89..993e0c542a95 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 ? */