Fix two of the 64bit errors on the printfs.
This commit is contained in:
parent
9d1a95cd55
commit
249820a7d8
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user