summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-02-09 18:19:58 +0000
committerrwatson <rwatson@FreeBSD.org>2009-02-09 18:19:58 +0000
commitc6f2b81096364f46de5feae2d7fe545f95cbabdc (patch)
treeb3a1bd8d2745444267750cc4d4d7aafbc10c7f68
parent80c343b215be744387082981af1857953d59caaa (diff)
downloadFreeBSD-src-c6f2b81096364f46de5feae2d7fe545f95cbabdc.zip
FreeBSD-src-c6f2b81096364f46de5feae2d7fe545f95cbabdc.tar.gz
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>
-rw-r--r--sys/kern/uipc_debug.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/uipc_debug.c b/sys/kern/uipc_debug.c
index 4689310..292f6e1 100644
--- a/sys/kern/uipc_debug.c
+++ b/sys/kern/uipc_debug.c
@@ -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;
OpenPOWER on IntegriCloud