mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Build fix for systems where strsignal() returns a const char *
This commit is contained in:
parent
f2be32eda1
commit
d96ee6b417
@ -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…
x
Reference in New Issue
Block a user