Date: Wed, 25 Mar 2020 13:19:42 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r359301 - head/sys/netinet Message-ID: <202003251319.02PDJgkA089180@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Wed Mar 25 13:19:41 2020 New Revision: 359301 URL: https://svnweb.freebsd.org/changeset/base/359301 Log: Use consistent debug output. MFC after: 1 week Modified: head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctputil.c ============================================================================== --- head/sys/netinet/sctputil.c Wed Mar 25 13:18:37 2020 (r359300) +++ head/sys/netinet/sctputil.c Wed Mar 25 13:19:41 2020 (r359301) @@ -1674,7 +1674,7 @@ sctp_timeout_handler(void *t) (type != SCTP_TIMER_TYPE_ASOCKILL))) { SCTP_INP_DECR_REF(inp); SCTPDBG(SCTP_DEBUG_TIMER2, - "Timer type = %d handler exiting due to closed socket\n", + "Timer type %d handler exiting due to closed socket.\n", type); CURVNET_RESTORE(); return; @@ -1689,7 +1689,7 @@ sctp_timeout_handler(void *t) SCTP_INP_DECR_REF(inp); } SCTPDBG(SCTP_DEBUG_TIMER2, - "Timer type = %d handler exiting due to CLOSED association\n", + "Timer type %d handler exiting due to CLOSED association.\n", type); CURVNET_RESTORE(); return; @@ -1705,7 +1705,7 @@ sctp_timeout_handler(void *t) atomic_add_int(&stcb->asoc.refcnt, -1); } SCTPDBG(SCTP_DEBUG_TIMER2, - "Timer type = %d handler exiting due to not being active\n", + "Timer type %d handler exiting due to not being active.\n", type); CURVNET_RESTORE(); return; @@ -1723,7 +1723,7 @@ sctp_timeout_handler(void *t) SCTP_INP_DECR_REF(inp); } SCTPDBG(SCTP_DEBUG_TIMER2, - "Timer type = %d handler exiting due to CLOSED association\n", + "Timer type %d handler exiting due to CLOSED association.\n", type); CURVNET_RESTORE(); return; @@ -2051,7 +2051,7 @@ out_decr: } out_no_decr: - SCTPDBG(SCTP_DEBUG_TIMER2, "Timer type = %d handler finished\n", type); + SCTPDBG(SCTP_DEBUG_TIMER2, "Timer type %d handler finished.\n", type); CURVNET_RESTORE(); NET_EPOCH_EXIT(et); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003251319.02PDJgkA089180>