From 1bd5f7392d3f21968683994b6844542922378fc3 Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Sat, 7 Sep 2002 08:14:19 +0000 Subject: [PATCH] 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. --- lib/libc/gen/siglist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/gen/siglist.c b/lib/libc/gen/siglist.c index b47e082f2181..d723e3eeae56 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] = {