summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_cc_functions.c
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2012-09-05 18:52:01 +0000
committertuexen <tuexen@FreeBSD.org>2012-09-05 18:52:01 +0000
commit1f0bc9debbbf5a7b15631446ee9e1c810a607505 (patch)
tree2560e427f95182393985f2e299fddcbad721d87b /sys/netinet/sctp_cc_functions.c
parent77e9cd7f1ee832971f6dadba11136bd6074202d4 (diff)
downloadFreeBSD-src-1f0bc9debbbf5a7b15631446ee9e1c810a607505.zip
FreeBSD-src-1f0bc9debbbf5a7b15631446ee9e1c810a607505.tar.gz
Using %p in a format string requires a void *.
MFC after: 10 days
Diffstat (limited to 'sys/netinet/sctp_cc_functions.c')
-rw-r--r--sys/netinet/sctp_cc_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_cc_functions.c b/sys/netinet/sctp_cc_functions.c
index 121f40d..807075d 100644
--- a/sys/netinet/sctp_cc_functions.c
+++ b/sys/netinet/sctp_cc_functions.c
@@ -984,7 +984,7 @@ sctp_cwnd_update_exit_pf_common(struct sctp_tcb *stcb, struct sctp_nets *net)
stcb->asoc.my_vtag, ((stcb->sctp_ep->sctp_lport << 16) | (stcb->rport)), net,
old_cwnd, net->cwnd);
SCTPDBG(SCTP_DEBUG_INDATA1, "Destination %p moved from PF to reachable with cwnd %d.\n",
- net, net->cwnd);
+ (void *)net, net->cwnd);
}
OpenPOWER on IntegriCloud