aboutsummaryrefslogtreecommitdiffstats
path: root/community/greenbone-security-assistant/002-sys_siglist.patch
blob: e5720e57f620a6b6cc353ee83e1a82745664e317 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/gsad.c b/src/gsad.c
index 7536183..4722a8d 100644
--- a/src/gsad.c
+++ b/src/gsad.c
@@ -5296,7 +5296,7 @@ main (int argc, char **argv)
       if (termination_signal)
         {
           g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Received %s signal.\n",
-                 sys_siglist[termination_signal]);
+                 strsignal(termination_signal));
           gsad_cleanup ();
           /* Raise signal again, to exit with the correct return value. */
           signal (termination_signal, SIG_DFL);