summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1998-11-30 20:43:53 +0000
committerthorpej <thorpej@NetBSD.org>1998-11-30 20:43:53 +0000
commitf2403afe2c45366a2e970a29c4aa4bd175bd77a5 (patch)
treefc1dee6d2cde03683f24f4e26f13d26f136b942f /lib/libc/string
parent50611666b159aca011ae1f0ca4402d454b2c76c6 (diff)
Use the (new) sys_nsig instead of NSIG.
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/__strsignal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/__strsignal.c b/lib/libc/string/__strsignal.c
index 8fc40f49a29..3a34124dfb4 100644
--- a/lib/libc/string/__strsignal.c
+++ b/lib/libc/string/__strsignal.c
@@ -1,4 +1,4 @@
-/* $NetBSD: __strsignal.c,v 1.16 1998/11/15 17:21:49 christos Exp $ */
+/* $NetBSD: __strsignal.c,v 1.17 1998/11/30 20:43:53 thorpej Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -38,7 +38,7 @@
#if 0
static char *sccsid = "@(#)strerror.c 5.6 (Berkeley) 5/4/91";
#else
-__RCSID("$NetBSD: __strsignal.c,v 1.16 1998/11/15 17:21:49 christos Exp $");
+__RCSID("$NetBSD: __strsignal.c,v 1.17 1998/11/30 20:43:53 thorpej Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -69,7 +69,7 @@ __strsignal(num, buf, buflen)
#endif
signum = num; /* convert to unsigned */
- if (signum < NSIG) {
+ if (signum < sys_nsig) {
#ifdef NLS
(void)strncpy(buf, catgets(catd, 2, (int)signum,
sys_siglist[signum]), NL_TEXTMAX);