summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_usrreq.c
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2006-11-03 21:19:54 +0000
committerrrs <rrs@FreeBSD.org>2006-11-03 21:19:54 +0000
commit7e7f92316bfaafa30403ea6ca58343e2e8e5071b (patch)
treeff59a244ec9a1d6049a6d70e26261faf88f5f446 /sys/netinet/sctp_usrreq.c
parentd50d92217a221226db66d72ea7afdf17d695530c (diff)
downloadFreeBSD-src-7e7f92316bfaafa30403ea6ca58343e2e8e5071b.zip
FreeBSD-src-7e7f92316bfaafa30403ea6ca58343e2e8e5071b.tar.gz
Fix two of the 64bit errors on the printfs.
Diffstat (limited to 'sys/netinet/sctp_usrreq.c')
-rw-r--r--sys/netinet/sctp_usrreq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c
index 15f29fc..3ba8179 100644
--- a/sys/netinet/sctp_usrreq.c
+++ b/sys/netinet/sctp_usrreq.c
@@ -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)) {
OpenPOWER on IntegriCloud