svn commit: r210232 - stable/8/sys/ddb

Konstantin Belousov kib at FreeBSD.org
Mon Jul 19 12:32:25 UTC 2010


Author: kib
Date: Mon Jul 19 12:32:24 2010
New Revision: 210232
URL: http://svn.freebsd.org/changeset/base/210232

Log:
  MFC r209934:
  Use _SIG_VALID().

Modified:
  stable/8/sys/ddb/db_command.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/ddb/db_command.c
==============================================================================
--- stable/8/sys/ddb/db_command.c	Mon Jul 19 12:16:41 2010	(r210231)
+++ stable/8/sys/ddb/db_command.c	Mon Jul 19 12:32:24 2010	(r210232)
@@ -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