svn commit: r209934 - head/sys/ddb
Konstantin Belousov
kib at FreeBSD.org
Mon Jul 12 10:18:11 UTC 2010
Author: kib
Date: Mon Jul 12 10:18:10 2010
New Revision: 209934
URL: http://svn.freebsd.org/changeset/base/209934
Log:
One more use for _SIG_VALID.
Submitted by: Garrett Cooper <yanegomi gmail com>
MFC after: 1 week
Modified:
head/sys/ddb/db_command.c
Modified: head/sys/ddb/db_command.c
==============================================================================
--- head/sys/ddb/db_command.c Mon Jul 12 10:15:33 2010 (r209933)
+++ head/sys/ddb/db_command.c Mon Jul 12 10:18:10 2010 (r209934)
@@ -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"));
/*
More information about the svn-src-all
mailing list