Make bootp error message slightly more verbose
This commit is contained in:
parent
51508de112
commit
aeb728f0d5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41488
@ -1,4 +1,4 @@
|
||||
/* $Id: bootp_subr.c,v 1.14 1998/08/18 00:32:47 bde Exp $ */
|
||||
/* $Id: bootp_subr.c,v 1.15 1998/08/23 03:07:16 wollman Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon Ross, Adam Glass
|
||||
@ -345,7 +345,7 @@ bootpc_call(call,reply,procp)
|
||||
error = sosend(so, (struct sockaddr *)sin, &auio, NULL,
|
||||
NULL, 0, procp);
|
||||
if (error) {
|
||||
printf("bootpc_call: sosend: %d\n", error);
|
||||
printf("bootpc_call: sosend: %d state %08x\n", error, (int)so->so_state);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Id: bootp_subr.c,v 1.14 1998/08/18 00:32:47 bde Exp $ */
|
||||
/* $Id: bootp_subr.c,v 1.15 1998/08/23 03:07:16 wollman Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon Ross, Adam Glass
|
||||
@ -345,7 +345,7 @@ bootpc_call(call,reply,procp)
|
||||
error = sosend(so, (struct sockaddr *)sin, &auio, NULL,
|
||||
NULL, 0, procp);
|
||||
if (error) {
|
||||
printf("bootpc_call: sosend: %d\n", error);
|
||||
printf("bootpc_call: sosend: %d state %08x\n", error, (int)so->so_state);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user