Commit 801bc148 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Demote SIGCHLD error to a warning

parent bc3e5294
......@@ -130,13 +130,13 @@ static void *SigThread (void *data)
sigaction (signum, NULL, &act);
if ((act.sa_flags & SA_SIGINFO) || (act.sa_handler != SIG_DFL))
{
msg_Err (obj, "signal %d overridden (%p)", signum,
msg_Warn (obj, "signal %d overridden (%p)", signum,
act.sa_handler);
#ifdef __GLIBC__
Dl_info info;
if (dladdr (act.sa_handler, &info))
msg_Err (obj, " %s(%s)[%p]",
msg_Warn (obj, " %s(%s)[%p]",
info.dli_fname ? info.dli_fname : "?",
info.dli_sname ? info.dli_sname : "?",
info.dli_saddr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment