[vlc-commits] Demote SIGCHLD error to a warning

Rémi Denis-Courmont git at videolan.org
Sat Jul 16 12:01:27 CEST 2011


vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 16 13:01:06 2011 +0300| [801bc148783910c4f77f2891de06432a48c19f76] | committer: Rémi Denis-Courmont

Demote SIGCHLD error to a warning

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=801bc148783910c4f77f2891de06432a48c19f76
---

 modules/control/signals.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/control/signals.c b/modules/control/signals.c
index a1e4215..b183718 100644
--- a/modules/control/signals.c
+++ b/modules/control/signals.c
@@ -130,16 +130,16 @@ 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,
-                        act.sa_handler);
+               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]",
-                            info.dli_fname ? info.dli_fname : "?",
-                            info.dli_sname ? info.dli_sname : "?",
-                            info.dli_saddr);
+                   msg_Warn (obj, " %s(%s)[%p]",
+                             info.dli_fname ? info.dli_fname : "?",
+                             info.dli_sname ? info.dli_sname : "?",
+                             info.dli_saddr);
 #endif
                if (!(act.sa_flags & SA_SIGINFO) && (act.sa_handler != SIG_IGN))
                    act.sa_handler (signum);



More information about the vlc-commits mailing list