diff options
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c index 0fa6e593..abe2e813 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -415,7 +415,11 @@ int main (int argc, char **argv) pause(); signal(SIGALRM, SIG_IGN); if (lastsig == sigwakeup) { +#ifdef SYS_SIGLIST_DECLARED error(0, 0, "awakened by %s", sys_siglist[lastsig]); +#else + error(0, 0, "awakened by signal %d", lastsig); +#endif } } |