svn commit: r359301 - head/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Wed Mar 25 13:19:50 UTC 2020


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);
 }


More information about the svn-src-head mailing list