summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/signame.c b/signame.c
index 1360b43..bdae74b 100644
--- a/signame.c
+++ b/signame.c
@@ -229,7 +229,7 @@ signame_init (void)
char *
-strsignal (int signal)
+strsignal (int sig)
{
static char buf[] = "Signal 12345678901234567890";
@@ -246,10 +246,10 @@ strsignal (int signal)
# endif
#endif
- if (signal > 0 || signal < NSIG)
- return (char *) sys_siglist[signal];
+ if (sig > 0 || sig < NSIG)
+ return (char *) sys_siglist[sig];
- sprintf (buf, "Signal %d", signal);
+ sprintf (buf, "Signal %d", sig);
return buf;
}