From 0bb19f3d59acd70debf5a665b2bfc17198f69c10 Mon Sep 17 00:00:00 2001 From: charnier Date: Tue, 3 Jun 1997 06:24:50 +0000 Subject: Signal # NSIG (32) is invalid. Obtained from: {Net|Open}BSD --- bin/kill/kill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/kill/kill.c b/bin/kill/kill.c index c75ca01..a816919 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); -- cgit v1.1