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 annotate xvasprintf w/ form...



details:   https://anonhg.NetBSD.org/src/rev/5a4af547d929
branches:  trunk
changeset: 745345:5a4af547d929
user:      tnn <tnn%NetBSD.org@localhost>
date:      Sat Feb 29 14:03:17 2020 +0000

description:
annotate xvasprintf w/ format string attribute

diffstat:

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

diffs (15 lines):

diff -r 0226ae6535e7 -r 5a4af547d929 crypto/external/bsd/openssh/dist/xmalloc.h
--- a/crypto/external/bsd/openssh/dist/xmalloc.h        Sat Feb 29 11:40:06 2020 +0000
+++ b/crypto/external/bsd/openssh/dist/xmalloc.h        Sat Feb 29 14:03:17 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xmalloc.h,v 1.12 2020/02/27 00:24:40 christos Exp $    */
+/*     $NetBSD: xmalloc.h,v 1.13 2020/02/29 14:03:17 tnn Exp $ */
 /* $OpenBSD: xmalloc.h,v 1.19 2019/11/12 22:32:48 djm Exp $ */
 
 /*
@@ -26,4 +26,5 @@
                 __attribute__((__format__ (printf, 2, 3)))
                 __attribute__((__nonnull__ (2)));
 int     xvasprintf(char **, const char *, va_list)
+                __attribute__((__format__ (printf, 2, 0)))
                __attribute__((__nonnull__ (2)));



Home | Main Index | Thread Index | Old Index