diff options
author | kib <kib@FreeBSD.org> | 2010-07-12 10:18:10 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-07-12 10:18:10 +0000 |
commit | f37b51f2667361ea39f13a08d0a3eac695c9b19b (patch) | |
tree | 4b46c39457ec38d3db3c756e30e94dd8ce49fed1 /sys/ddb | |
parent | 48eef70c5e666b73b64ec34176bd925ea2720f50 (diff) | |
download | FreeBSD-src-f37b51f2667361ea39f13a08d0a3eac695c9b19b.zip FreeBSD-src-f37b51f2667361ea39f13a08d0a3eac695c9b19b.tar.gz |
One more use for _SIG_VALID.
Submitted by: Garrett Cooper <yanegomi gmail com>
MFC after: 1 week
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_command.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); /* |