aboutsummaryrefslogtreecommitdiffstats
path: root/testing/greenbone-security-assistant/002-sys_siglist.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/greenbone-security-assistant/002-sys_siglist.patch')
-rw-r--r--testing/greenbone-security-assistant/002-sys_siglist.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/greenbone-security-assistant/002-sys_siglist.patch b/testing/greenbone-security-assistant/002-sys_siglist.patch
new file mode 100644
index 0000000000..e5720e57f6
--- /dev/null
+++ b/testing/greenbone-security-assistant/002-sys_siglist.patch
@@ -0,0 +1,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);