summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2015-07-21 09:57:13 +0000
committerpluknet <pluknet@FreeBSD.org>2015-07-21 09:57:13 +0000
commit4ece29fe277744b098796ffc3e33c57ef944938b (patch)
treeec199d50db0fb5d3d81181212fd694ca23f5c616
parente4870a15db964e2a684550b8d1eb30c1087792a0 (diff)
downloadFreeBSD-src-4ece29fe277744b098796ffc3e33c57ef944938b.zip
FreeBSD-src-4ece29fe277744b098796ffc3e33c57ef944938b.tar.gz
Fix sb_state constant names as used e.g. to display in DDB ``show sockbuf''.
MFC after: 1 week
-rw-r--r--sys/kern/uipc_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_debug.c b/sys/kern/uipc_debug.c
index c3081a4..caecad9 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;
}
}
OpenPOWER on IntegriCloud