Author: tuexen
Date: Fri Mar 9 15:42:47 2012
New Revision: 232726
URL: http://svn.freebsd.org/changeset/base/232726
Log:
Fix a warning reported by bz@
MFC after: 3 days.
Modified:
head/sys/netinet/sctp_peeloff.c
Modified: head/sys/netinet/sctp_peeloff.c
==============================================================================
--- head/sys/netinet/sctp_peeloff.c Fri Mar 9 15:25:27 2012
(r232725)
+++ head/sys/netinet/sctp_peeloff.c Fri Mar 9 15:42:47 2012
(r232726)
@@ -56,17 +56,17 @@ sctp_can_peel_off(struct socket *head, s
uint32_t state;
if (head == NULL) {
- SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF,
EBADF);
+ SCTP_LTRACE_ERR_RET(NULL, NULL, NULL, SCTP_FROM_SCTP_PEELOFF,
EBADF);
return (EBADF);
}
if ((head->so_proto->pr_protocol != IPPROTO_SCTP) ||
(head->so_type != SOCK_SEQPACKET)) {
- SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF,
EOPNOTSUPP);
+ SCTP_LTRACE_ERR_RET(NULL, NULL, NULL, SCTP_FROM_SCTP_PEELOFF,
EOPNOTSUPP);
return (EOPNOTSUPP);
}
inp = (struct sctp_inpcb *)head->so_pcb;
if (inp == NULL) {
- SCTP_LTRACE_ERR_RET(inp, NULL, NULL, SCTP_FROM_SCTP_PEELOFF,
EFAULT);
+ SCTP_LTRACE_ERR_RET(NULL, NULL, NULL, SCTP_FROM_SCTP_PEELOFF,
EFAULT);
return (EFAULT);
}
stcb = sctp_findassociation_ep_asocid(inp, assoc_id, 1);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"