Make bootp error message slightly more verbose

This commit is contained in:
Matthew Dillon 1998-12-03 20:28:23 +00:00
parent 51508de112
commit aeb728f0d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41488
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}