mirror of https://github.com/Icinga/icinga2.git
Build fix for systems where strsignal() returns a const char *
This commit is contained in:
parent
7029bb3aea
commit
9705e08ee0
|
@ -748,7 +748,7 @@ bool Process::DoEvents(void)
|
|||
<< "PID " << m_PID << " (" << PrettyPrintArguments(m_Arguments) << ") terminated with exit code " << exitcode;
|
||||
} else if (WIFSIGNALED(status)) {
|
||||
int signum = WTERMSIG(status);
|
||||
char *zsigname = strsignal(signum);
|
||||
const char *zsigname = strsignal(signum);
|
||||
|
||||
String signame = Convert::ToString(signum);
|
||||
|
||||
|
|
Loading…
Reference in New Issue