diff options
author | Roland McGrath <roland@redhat.com> | 1995-03-07 06:41:05 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-03-07 06:41:05 +0000 |
commit | 0733d6947d326c78d04cd9d37e3dce8c1aed4e5a (patch) | |
tree | ba7543e4629e73fd96ccbd0d458c81d0aba36b51 /signame.c | |
parent | b91d62feb37d188196e6c99c0518356b1edcbfa1 (diff) | |
download | gunmake-0733d6947d326c78d04cd9d37e3dce8c1aed4e5a.tar.gz |
(strsignal): Cast sys_siglist elt to char *.
Diffstat (limited to 'signame.c')
-rw-r--r-- | signame.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -284,7 +284,7 @@ strsignal (signal) static char buf[] = "Signal 12345678901234567890"; if (signal > 0 || signal < NSIG) - return sys_siglist[signal]; + return (char *) sys_siglist[signal]; sprintf (buf, "Signal %d", signal); return buf; |