On Wed, 10 Jun 2009 09:30:30 -0700
Philip Guenther <guent...@gmail.com> wrote:
> On Wed, Jun 10, 2009 at 9:17 AM, Thomas Pfaff<tpf...@tp76.info> wrote:
> > Jun 10 18:09:44 ws hotplugd[5252]: waitpid: No child processes
> 
> It's easy enough to change the code to suppress the error message in
> that case ...

In case that's what you end up doing ...

Index: hotplugd.c
===================================================================
RCS file: /cvs/src/usr.sbin/hotplugd/hotplugd.c,v
retrieving revision 1.9
diff -u -p -r1.9 hotplugd.c
--- hotplugd.c  25 May 2008 16:49:04 -0000      1.9
+++ hotplugd.c  10 Jun 2009 17:47:48 -0000
@@ -185,10 +185,7 @@ sigchild(int signum)
                        syslog_r(LOG_NOTICE, &sdata,
                            "child is terminated abnormally");
                }
-       } else {
-               syslog_r(LOG_ERR, &sdata, "waitpid: %m");
        }
-
        errno = saved_errno;
 }

Reply via email to