summaryrefslogtreecommitdiff
path: root/libc/string/strsignal.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/strsignal.c')
-rw-r--r--libc/string/strsignal.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/libc/string/strsignal.c b/libc/string/strsignal.c
index ff4f69923..83a862bfb 100644
--- a/libc/string/strsignal.c
+++ b/libc/string/strsignal.c
@@ -8,7 +8,7 @@
#include <malloc.h>
#include <signal.h>
-const char *const sys_siglist[NSIG] = {
+const char *const sys_siglist[] = {
"Unknown signal",
"Hangup",
"Interrupt",
@@ -32,20 +32,21 @@ const char *const sys_siglist[NSIG] = {
"Stopped",
"Stopped (tty input)",
"Stopped (tty output)",
- "Possible I/O",
+ "Urgent condition",
"CPU time limit exceeded",
"File size limit exceeded",
"Virtual time alarm",
"Profile signal",
"Window size changed",
- "File lock lost",
+ "Possible I/O",
"Power failure",
- "Unused signal"
+ "Unused signal",
+ NULL
};
/********************** Function strsignal ************************************/
-char *strsignal (int sig)
+char *strsignal(int sig)
{
static char retbuf[80];