svn commit: r188404 - head/sys/kern

Robert Watson rwatson at FreeBSD.org
Mon Feb 9 10:19:59 PST 2009


Author: rwatson
Date: Mon Feb  9 18:19:58 2009
New Revision: 188404
URL: http://svn.freebsd.org/changeset/base/188404

Log:
  Remove extra 'comma = 0' in socket state printing code, which otherwise
  could lead to an extra comma in output.
  
  Submitted by:   Christoph Mallon <christoph dot mallon at gmx dot de>

Modified:
  head/sys/kern/uipc_debug.c

Modified: head/sys/kern/uipc_debug.c
==============================================================================
--- head/sys/kern/uipc_debug.c	Mon Feb  9 18:03:31 2009	(r188403)
+++ head/sys/kern/uipc_debug.c	Mon Feb  9 18:19:58 2009	(r188404)
@@ -172,7 +172,6 @@ db_print_sostate(short so_state)
 		db_printf("%sSS_ISCONFIRMING", comma ? ", " : "");
 		comma = 1;
 	}
-	comma = 0;
 	if (so_state & SS_PROTOREF) {
 		db_printf("%sSS_PROTOREF", comma ? ", " : "");
 		comma = 1;


More information about the svn-src-head mailing list