Source-Changes-HG archive

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

[src/trunk]: src/crypto/external/bsd/openssh/dist Format string checks for do...



details:   https://anonhg.NetBSD.org/src/rev/98b712fce0d0
branches:  trunk
changeset: 325808:98b712fce0d0
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Jan 07 02:13:39 2014 +0000

description:
Format string checks for do_log.

diffstat:

 crypto/external/bsd/openssh/dist/log.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6b3a5c6b9eeb -r 98b712fce0d0 crypto/external/bsd/openssh/dist/log.h
--- a/crypto/external/bsd/openssh/dist/log.h    Tue Jan 07 02:13:00 2014 +0000
+++ b/crypto/external/bsd/openssh/dist/log.h    Tue Jan 07 02:13:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: log.h,v 1.6 2013/11/08 19:18:25 christos Exp $ */
+/*     $NetBSD: log.h,v 1.7 2014/01/07 02:13:39 joerg Exp $    */
 /* $OpenBSD: log.h,v 1.20 2013/04/07 02:10:33 dtucker Exp $ */
 
 /*
@@ -71,6 +71,7 @@
 void    set_log_handler(log_handler_fn *, void *);
 void    do_log2(LogLevel, const char *, ...)
     __attribute__((format(printf, 2, 3)));
-void    do_log(LogLevel, const char *, va_list);
+void    do_log(LogLevel, const char *, va_list)
+    __attribute__((format(printf, 2, 0)));
 void    cleanup_exit(int) __attribute__((noreturn));
 #endif



Home | Main Index | Thread Index | Old Index