aboutsummaryrefslogtreecommitdiff
path: root/bin/kill
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-06-03 06:24:50 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-06-03 06:24:50 +0000
commit7999ef2f3810d61a628298264fe7d80780148a63 (patch)
tree18299116452a9601670df935d7928205027b5216 /bin/kill
parentec2427b3355cbf097ac7e4cb1ab49ecb853a955d (diff)
downloadsrc-7999ef2f3810d61a628298264fe7d80780148a63.tar.gz
src-7999ef2f3810d61a628298264fe7d80780148a63.zip
Signal # NSIG (32) is invalid.
Obtained from: {Net|Open}BSD
Notes
Notes: svn path=/head/; revision=26404
Diffstat (limited to 'bin/kill')
-rw-r--r--bin/kill/kill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/kill/kill.c b/bin/kill/kill.c
index c75ca013e268..a8169190d40c 100644
--- a/bin/kill/kill.c
+++ b/bin/kill/kill.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: kill.c,v 1.6 1997/02/22 14:03:45 peter Exp $
*/
#ifndef lint
@@ -112,7 +112,7 @@ main(argc, argv)
numsig = strtol(*argv, &ep, 10);
if (!*argv || *ep)
errx(1, "illegal signal number: %s", *argv);
- if (numsig < 0 || numsig > NSIG)
+ if (numsig < 0 || numsig >= NSIG)
nosig(*argv);
} else
nosig(*argv);