One more use for _SIG_VALID.

Submitted by:	Garrett Cooper <yanegomi gmail com>
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2010-07-12 10:18:10 +00:00
parent b144e48b2a
commit a29af74b70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209934

View File

@ -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"));
/*