Use __func__ instead of __FUNCTION__ for consistency.
MFC after: 3 days
This commit is contained in:
parent
d0ed75b3b1
commit
9f2d6263bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366426
@ -373,7 +373,7 @@ sctp_get_mbuf_for_msg(unsigned int space_needed, int want_header,
|
||||
m_freem(m);
|
||||
return (NULL);
|
||||
}
|
||||
KASSERT(SCTP_BUF_NEXT(m) == NULL, ("%s: no chain allowed", __FUNCTION__));
|
||||
KASSERT(SCTP_BUF_NEXT(m) == NULL, ("%s: no chain allowed", __func__));
|
||||
}
|
||||
#ifdef SCTP_MBUF_LOGGING
|
||||
if (SCTP_BASE_SYSCTL(sctp_logging_level) & SCTP_MBUF_LOGGING_ENABLE) {
|
||||
|
@ -301,7 +301,7 @@ sctp_mark_non_revokable(struct sctp_association *asoc, uint32_t tsn)
|
||||
SCTP_CALC_TSN_TO_GAP(gap, tsn, asoc->mapping_array_base_tsn);
|
||||
in_r = SCTP_IS_TSN_PRESENT(asoc->mapping_array, gap);
|
||||
in_nr = SCTP_IS_TSN_PRESENT(asoc->nr_mapping_array, gap);
|
||||
KASSERT(in_r || in_nr, ("%s: Things are really messed up now", __FUNCTION__));
|
||||
KASSERT(in_r || in_nr, ("%s: Things are really messed up now", __func__));
|
||||
if (!in_nr) {
|
||||
SCTP_SET_TSN_PRESENT(asoc->nr_mapping_array, gap);
|
||||
if (SCTP_TSN_GT(tsn, asoc->highest_tsn_inside_nr_map)) {
|
||||
|
Loading…
Reference in New Issue
Block a user