Fix sb_state constant names as used e.g. to display in DDB ``show sockbuf''.
MFC after: 1 week
This commit is contained in:
parent
e4870a15db
commit
4ece29fe27
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user