Module Name:    src
Committed By:   christos
Date:           Wed Oct 14 15:54:21 UTC 2015

Modified Files:
        src/lib/libwrap: diag.c tcpd.h

Log Message:
these are syslog-like


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/libwrap/diag.c
cvs rdiff -u -r1.14 -r1.15 src/lib/libwrap/tcpd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libwrap/diag.c
diff -u src/lib/libwrap/diag.c:1.10 src/lib/libwrap/diag.c:1.11
--- src/lib/libwrap/diag.c:1.10	Thu Mar 22 18:58:15 2012
+++ src/lib/libwrap/diag.c	Wed Oct 14 11:54:21 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: diag.c,v 1.10 2012/03/22 22:58:15 joerg Exp $	*/
+/*	$NetBSD: diag.c,v 1.11 2015/10/14 15:54:21 christos Exp $	*/
 
  /*
   * Routines to report various classes of problems. Each report is decorated
@@ -16,7 +16,7 @@
 #if 0
 static char sccsid[] = "@(#) diag.c 1.1 94/12/28 17:42:20";
 #else
-__RCSID("$NetBSD: diag.c,v 1.10 2012/03/22 22:58:15 joerg Exp $");
+__RCSID("$NetBSD: diag.c,v 1.11 2015/10/14 15:54:21 christos Exp $");
 #endif
 #endif
 
@@ -38,7 +38,7 @@ struct tcpd_context tcpd_context;
 jmp_buf tcpd_buf;
 
 static void tcpd_diag(int, const char *, const char *, va_list)
-    __printflike(3,0);
+    __sysloglike(3,0);
 
 /* tcpd_diag - centralize error reporter */
 

Index: src/lib/libwrap/tcpd.h
diff -u src/lib/libwrap/tcpd.h:1.14 src/lib/libwrap/tcpd.h:1.15
--- src/lib/libwrap/tcpd.h:1.14	Thu Mar 22 18:59:43 2012
+++ src/lib/libwrap/tcpd.h	Wed Oct 14 11:54:21 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: tcpd.h,v 1.14 2012/03/22 22:59:43 joerg Exp $	*/
+/*	$NetBSD: tcpd.h,v 1.15 2015/10/14 15:54:21 christos Exp $	*/
  /*
   * @(#) tcpd.h 1.5 96/03/19 16:22:24
   * 
@@ -168,10 +168,10 @@ extern void tli_host			/* look up endpoi
   */
 
 /* Report problem and proceed */
-void tcpd_warn(const char *, ...) __printflike(1, 2);
+void tcpd_warn(const char *, ...) __sysloglike(1, 2);
 
 /* Report problem and jump */
-void tcpd_jump(const char *, ...) __dead __printflike(1, 2);
+void tcpd_jump(const char *, ...) __dead __sysloglike(1, 2);
 __END_DECLS
 
 struct tcpd_context {

Reply via email to