Module Name: src
Committed By: tnn
Date: Sat Feb 29 14:03:17 UTC 2020
Modified Files:
src/crypto/external/bsd/openssh/dist: xmalloc.h
Log Message:
annotate xvasprintf w/ format string attribute
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/crypto/external/bsd/openssh/dist/xmalloc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssh/dist/xmalloc.h
diff -u src/crypto/external/bsd/openssh/dist/xmalloc.h:1.12 src/crypto/external/bsd/openssh/dist/xmalloc.h:1.13
--- src/crypto/external/bsd/openssh/dist/xmalloc.h:1.12 Thu Feb 27 00:24:40 2020
+++ src/crypto/external/bsd/openssh/dist/xmalloc.h Sat Feb 29 14:03:17 2020
@@ -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 @@ int xasprintf(char **, const char *, ..
__attribute__((__format__ (printf, 2, 3)))
__attribute__((__nonnull__ (2)));
int xvasprintf(char **, const char *, va_list)
+ __attribute__((__format__ (printf, 2, 0)))
__attribute__((__nonnull__ (2)));