aboutsummaryrefslogtreecommitdiffstats
path: root/community/greenbone-security-assistant/000-sys_siglist.patch
blob: 1af39b98b978cd0ea4d54b7a8808f6ae7b543996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/gsad.c b/src/gsad.c
index 73bbff2..65a0d22 100644
--- a/src/gsad.c
+++ b/src/gsad.c
@@ -6249,7 +6249,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);