Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src these are syslog-like



details:   https://anonhg.NetBSD.org/src/rev/4e77ff9e8690
branches:  trunk
changeset: 341012:4e77ff9e8690
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 14 15:54:21 2015 +0000

description:
these are syslog-like

diffstat:

 external/bsd/openpam/dist/include/security/openpam.h |  14 +++++++-------
 lib/libwrap/diag.c                                   |   6 +++---
 lib/libwrap/tcpd.h                                   |   6 +++---
 3 files changed, 13 insertions(+), 13 deletions(-)

diffs (111 lines):

diff -r 5ba7ade96490 -r 4e77ff9e8690 external/bsd/openpam/dist/include/security/openpam.h
--- a/external/bsd/openpam/dist/include/security/openpam.h      Wed Oct 14 15:53:50 2015 +0000
+++ b/external/bsd/openpam/dist/include/security/openpam.h      Wed Oct 14 15:54:21 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: openpam.h,v 1.7 2014/10/24 18:17:56 christos Exp $     */
+/*     $NetBSD: openpam.h,v 1.8 2015/10/14 15:54:55 christos Exp $     */
 
 /*-
  * Copyright (c) 2002-2003 Networks Associates Technology, Inc.
@@ -92,7 +92,7 @@
 pam_error(const pam_handle_t *_pamh,
        const char *_fmt,
        ...)
-       OPENPAM_FORMAT ((__printf__, 2, 3))
+       OPENPAM_FORMAT ((__syslog__, 2, 3))
        OPENPAM_NONNULL((1,2));
 
 int
@@ -106,7 +106,7 @@
 pam_info(const pam_handle_t *_pamh,
        const char *_fmt,
        ...)
-       OPENPAM_FORMAT ((__printf__, 2, 3))
+       OPENPAM_FORMAT ((__syslog__, 2, 3))
        OPENPAM_NONNULL((1,2));
 
 int
@@ -129,14 +129,14 @@
 pam_vinfo(const pam_handle_t *_pamh,
        const char *_fmt,
        va_list _ap)
-       OPENPAM_FORMAT ((__printf__, 2, 0))
+       OPENPAM_FORMAT ((__syslog__, 2, 0))
        OPENPAM_NONNULL((1,2));
 
 int
 pam_verror(const pam_handle_t *_pamh,
        const char *_fmt,
        va_list _ap)
-       OPENPAM_FORMAT ((__printf__, 2, 0))
+       OPENPAM_FORMAT ((__syslog__, 2, 0))
        OPENPAM_NONNULL((1,2));
 
 int
@@ -216,7 +216,7 @@
        const char *_func,
        const char *_fmt,
        ...)
-       OPENPAM_FORMAT ((__printf__, 3, 4))
+       OPENPAM_FORMAT ((__syslog__, 3, 4))
        OPENPAM_NONNULL((3));
 
 #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
@@ -236,7 +236,7 @@
 openpam_log(int _level,
        const char *_format,
        ...)
-       OPENPAM_FORMAT ((__printf__, 2, 3))
+       OPENPAM_FORMAT ((__syslog__, 2, 3))
        OPENPAM_NONNULL((2));
 #endif
 
diff -r 5ba7ade96490 -r 4e77ff9e8690 lib/libwrap/diag.c
--- a/lib/libwrap/diag.c        Wed Oct 14 15:53:50 2015 +0000
+++ b/lib/libwrap/diag.c        Wed Oct 14 15:54:21 2015 +0000
@@ -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 @@
 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 */
 
diff -r 5ba7ade96490 -r 4e77ff9e8690 lib/libwrap/tcpd.h
--- a/lib/libwrap/tcpd.h        Wed Oct 14 15:53:50 2015 +0000
+++ b/lib/libwrap/tcpd.h        Wed Oct 14 15:54:21 2015 +0000
@@ -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 @@
   */
 
 /* 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 {



Home | Main Index | Thread Index | Old Index