From f37b51f2667361ea39f13a08d0a3eac695c9b19b Mon Sep 17 00:00:00 2001 From: kib Date: Mon, 12 Jul 2010 10:18:10 +0000 Subject: One more use for _SIG_VALID. Submitted by: Garrett Cooper MFC after: 1 week --- sys/ddb/db_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 7c7f54e..7fab5c2 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -633,7 +633,7 @@ db_kill(dummy1, dummy2, dummy3, dummy4) if (!db_expression(&pid)) DB_ERROR(("Missing process ID\n")); db_skip_to_eol(); - if (sig < 1 || sig > _SIG_MAXSIG) + if (!_SIG_VALID(sig)) DB_ERROR(("Signal number out of range\n")); /* -- cgit v1.1