Fix two of the 64bit errors on the printfs.

This commit is contained in:
Randall Stewart 2006-11-03 21:19:54 +00:00
parent 9d1a95cd55
commit 249820a7d8

View File

@ -1134,8 +1134,7 @@ sctp_disconnect(struct socket *so)
sp = TAILQ_LAST(&asoc->locked_on_sending->outqueue, sctp_streamhead);
if (sp == NULL) {
printf("Error, sp is NULL, locked on sending is %x strm:%d\n",
(u_int)asoc->locked_on_sending,
printf("Error, sp is NULL, locked on sending is non-null strm:%d\n",
asoc->locked_on_sending->stream_no);
} else {
if ((sp->length == 0) && (sp->msg_is_complete == 0))
@ -1275,8 +1274,7 @@ sctp_shutdown(struct socket *so)
sp = TAILQ_LAST(&asoc->locked_on_sending->outqueue, sctp_streamhead);
if (sp == NULL) {
printf("Error, sp is NULL, locked on sending is %x strm:%d\n",
(u_int)asoc->locked_on_sending,
printf("Error, sp is NULL, locked on sending is non-null strm:%d\n",
asoc->locked_on_sending->stream_no);
} else {
if ((sp->length == 0) && (sp->msg_is_complete == 0)) {