Explorar o código

qdevice: Add chk variant of vsyslog to test-log

Signed-off-by: Jan Friesse <jfriesse@redhat.com>

(cherry picked from corosync-qdevice project commit
 563f870fdb812bd0ec4897f9f557663d5103f6bd)
Jan Friesse %!s(int64=6) %!d(string=hai) anos
pai
achega
d3495fbe22
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      qdevices/test-log.c

+ 7 - 0
qdevices/test-log.c

@@ -71,6 +71,13 @@ vsyslog(int priority, const char *format, va_list ap)
 	va_end(ap_copy);
 }
 
+void
+__vsyslog_chk(int priority, int flag, const char *format, va_list ap)
+{
+
+	vsyslog(priority, format, ap);
+}
+
 void
 closelog(void)
 {