I think those were log_msg()s before, as log_msg() has to be called with a
debug level
as first argument. As log_err() doesn't take a debug level, just call it with
the string.

Index: monitor.c
===================================================================
RCS file: /cvs/src/usr.sbin/sasyncd/monitor.c,v
retrieving revision 1.15
diff -u -r1.15 monitor.c
--- monitor.c   2 Apr 2012 18:56:15 -0000       1.15
+++ monitor.c   4 Sep 2012 13:06:37 -0000
@@ -180,7 +180,7 @@
                if (select(m_state.s + 1, &rfds, NULL, NULL, tvp) == -1) {
                        if (errno == EINTR || errno == EAGAIN)
                                continue;
-                       log_err(0, "monitor_loop: select() ");
+                       log_err("monitor_loop: select() ");
                        break;
                }

@@ -188,7 +188,7 @@
                if (FD_ISSET(m_state.s, &rfds)) {
                        if ((r = m_read(m_state.s, &v, sizeof v)) < 1) {
                                if (r == -1)
-                                       log_err(0, "monitor_loop: read() ");
+                                       log_err("monitor_loop: read() ");
                                break;
                        }
                }

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]

Reply via email to