summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-09-07 08:14:19 +0000
committerjmallett <jmallett@FreeBSD.org>2002-09-07 08:14:19 +0000
commit4cb9c36cfd13bce48da48cd6cdc769f489ebe708 (patch)
treed4db3bf8cf93f1df2529426f0ef20d51724c74ef /lib
parent52b123c1cb6a3d0d9f26d580f6c1107620804afb (diff)
downloadFreeBSD-src-4cb9c36cfd13bce48da48cd6cdc769f489ebe708.zip
FreeBSD-src-4cb9c36cfd13bce48da48cd6cdc769f489ebe708.tar.gz
Two arrays were born from the same seeds, both grew into complementary sets
of pointers to strings. These two arrays were fixed to the same size, but one had an implicit zeroed trailer element, which was unused because the size was used up by the ones before said zeroed trailer element. So the unused limb was chopped off the over-sized-but-not-over-sized array, and everyone lived happily ever after.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/siglist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/siglist.c b/lib/libc/gen/siglist.c
index b47e082..d723e3e 100644
--- a/lib/libc/gen/siglist.c
+++ b/lib/libc/gen/siglist.c
@@ -72,7 +72,7 @@ const char *const sys_signame[NSIG] = {
"winch", /* SIGWINCH */
"info", /* SIGINFO */
"usr1", /* SIGUSR1 */
- "usr2", /* SIGUSR2 */
+ "usr2" /* SIGUSR2 */
};
const char *const sys_siglist[NSIG] = {
OpenPOWER on IntegriCloud