Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2015 09:57:13 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285741 - head/sys/kern
Message-ID:  <201507210957.t6L9vDpZ074308@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Tue Jul 21 09:57:13 2015
New Revision: 285741
URL: https://svnweb.freebsd.org/changeset/base/285741

Log:
  Fix sb_state constant names as used e.g. to display in DDB ``show sockbuf''.
  
  MFC after:	1 week

Modified:
  head/sys/kern/uipc_debug.c

Modified: head/sys/kern/uipc_debug.c
==============================================================================
--- head/sys/kern/uipc_debug.c	Tue Jul 21 09:54:31 2015	(r285740)
+++ head/sys/kern/uipc_debug.c	Tue Jul 21 09:57:13 2015	(r285741)
@@ -209,15 +209,15 @@ db_print_sbstate(short sb_state)
 
 	comma = 0;
 	if (sb_state & SBS_CANTSENDMORE) {
-		db_printf("%sSS_CANTSENDMORE", comma ? ", " : "");
+		db_printf("%sSBS_CANTSENDMORE", comma ? ", " : "");
 		comma = 1;
 	}
 	if (sb_state & SBS_CANTRCVMORE) {
-		db_printf("%sSS_CANTRCVMORE", comma ? ", " : "");
+		db_printf("%sSBS_CANTRCVMORE", comma ? ", " : "");
 		comma = 1;
 	}
 	if (sb_state & SBS_RCVATMARK) {
-		db_printf("%sSS_RCVATMARK", comma ? ", " : "");
+		db_printf("%sSBS_RCVATMARK", comma ? ", " : "");
 		comma = 1;
 	}
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507210957.t6L9vDpZ074308>