From 07da1a29670f4209503a5ee83e546bd0ae760fc3 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sat, 11 Sep 2021 14:10:02 +0200 Subject: [PATCH] Stop using sigabbrev_np GNU extension --- src/components/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/controller.cpp b/src/components/controller.cpp index 470f93e8..27cf9cdf 100644 --- a/src/components/controller.cpp +++ b/src/components/controller.cpp @@ -218,7 +218,7 @@ void controller::ipc_cb(string buf) { } void controller::signal_handler(int signum) { - m_log.notice("Received signal SIG%s", sigabbrev_np(signum)); + m_log.notice("Received signal(%d): %s", signum, strsignal(signum)); stop(signum == SIGUSR1); }