diff options
Diffstat (limited to 'mount/fstab.c')
-rw-r--r-- | mount/fstab.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mount/fstab.c b/mount/fstab.c index 2f28f12c0..b1343f32b 100644 --- a/mount/fstab.c +++ b/mount/fstab.c @@ -399,9 +399,11 @@ static int we_created_lockfile = 0; static int signals_have_been_setup = 0; /* Ensure that the lock is released if we are interrupted. */ +extern char *strsignal(int sig); /* not always in <string.h> */ + static void handler (int sig) { - die (EX_USER, "%s", sys_siglist[sig]); + die(EX_USER, "%s", strsignal(sig)); } static void |