Module Name: src
Committed By: maya
Date: Sun May 12 13:47:09 UTC 2019
Modified Files:
src/usr.sbin/installboot: evboards.c
Log Message:
Use attribute printf.
Helps clang builds. From a.rin.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/installboot/evboards.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/installboot/evboards.c
diff -u src/usr.sbin/installboot/evboards.c:1.1 src/usr.sbin/installboot/evboards.c:1.2
--- src/usr.sbin/installboot/evboards.c:1.1 Tue May 7 05:02:42 2019
+++ src/usr.sbin/installboot/evboards.c Sun May 12 13:47:09 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: evboards.c,v 1.1 2019/05/07 05:02:42 thorpej Exp $ */
+/* $NetBSD: evboards.c,v 1.2 2019/05/12 13:47:09 maya Exp $ */
/*-
* Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if !defined(__lint)
-__RCSID("$NetBSD: evboards.c,v 1.1 2019/05/07 05:02:42 thorpej Exp $");
+__RCSID("$NetBSD: evboards.c,v 1.2 2019/05/12 13:47:09 maya Exp $");
#endif /* !__lint */
#include <sys/types.h>
@@ -331,7 +331,7 @@ __RCSID("$NetBSD: evboards.c,v 1.1 2019/
* Build a path into the given buffer with the specified
* format. Returns NULL if the path won't fit.
*/
-static const char *
+static __printflike(3,4) const char *
make_path(char *buf, size_t bufsize, const char *fmt, ...)
{
va_list ap;