blob: 1796b38e5f97024e3df4eecc41047862bd9a4a14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/gsad/src/gsad.c b/gsad/src/gsad.c
index efdecfc..5e5e1e8 100644
--- a/gsad/src/gsad.c
+++ b/gsad/src/gsad.c
@@ -3352,7 +3352,7 @@ main (int argc, char **argv)
{
if (termination_signal)
{
- g_debug ("Received %s signal.\n", sys_siglist[termination_signal]);
+ g_debug ("Received %s signal.\n", strsignal(termination_signal));
gsad_cleanup ();
/* Raise signal again, to exit with the correct return value. */
signal (termination_signal, SIG_DFL);
|