summaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-03-07 14:26:30 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-03-07 14:26:30 +0000
commit3755dbd80523db102c6d324cbcdc1277c9b4388b (patch)
treea30af4aecbf91e6a279dff7898eb3dbd67672993 /sys/ddb/db_command.c
parentce6d690203aa1d4b7e7d6d608d3905d49c388e1b (diff)
Notes
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 5ebcc15642a2..db6dc24774c5 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -599,7 +599,7 @@ db_kill(dummy1, dummy2, dummy3, dummy4)
if (!db_expression(&pid))
DB_ERROR(("Missing process ID\n"));
db_skip_to_eol();
- if (sig < 0 || sig > _SIG_MAXSIG)
+ if (sig < 1 || sig > _SIG_MAXSIG)
DB_ERROR(("Signal number out of range\n"));
/*