summaryrefslogtreecommitdiff
path: root/src/string
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-07-09 02:30:21 -0400
committerRich Felker <dalias@aerifal.cx>2013-07-09 02:30:21 -0400
commitc713d8797804903b54203a645e023e2077c7556d (patch)
tree94c9196f9252e71e396cba6cabdbcbd5d1c27fe9 /src/string
parentc90fa2ace73851d6af4946c239c90db91cad8abe (diff)
downloadmusl-c713d8797804903b54203a645e023e2077c7556d.tar.gz
musl-c713d8797804903b54203a645e023e2077c7556d.tar.bz2
musl-c713d8797804903b54203a645e023e2077c7556d.tar.xz
musl-c713d8797804903b54203a645e023e2077c7556d.zip
fix a couple misleading/wrong signal descriptions in strsignal
there are still several more that are misleading, but SIGFPE (integer division error misdescribed as floating point) and and SIGCHLD (possibly non-exit status change events described as exiting) were the worst offenders.
Diffstat (limited to 'src/string')
-rw-r--r--src/string/strsignal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string/strsignal.c b/src/string/strsignal.c
index f0c3db7a..905c0956 100644
--- a/src/string/strsignal.c
+++ b/src/string/strsignal.c
@@ -61,7 +61,7 @@ static const char strings[] =
"Trace/breakpoint trap\0"
"Aborted\0"
"Bus error\0"
- "Floating point exception\0"
+ "Arithmetic exception\0"
"Killed\0"
"User defined signal 1\0"
"Segmentation fault\0"
@@ -70,7 +70,7 @@ static const char strings[] =
"Alarm clock\0"
"Terminated\0"
"Stack fault\0"
- "Child exited\0"
+ "Child process status\0"
"Continued\0"
"Stopped (signal)\0"
"Stopped\0"