From 94df6fad1df04f4b7be5e1cf7197a77bd0c2b98d Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Tue, 21 Jul 2015 09:57:13 +0000 Subject: [PATCH] Fix sb_state constant names as used e.g. to display in DDB ``show sockbuf''. MFC after: 1 week --- sys/kern/uipc_debug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/uipc_debug.c b/sys/kern/uipc_debug.c index c3081a497ae..caecad9bac8 100644 --- a/sys/kern/uipc_debug.c +++ b/sys/kern/uipc_debug.c @@ -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; } }