Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/autofs missing printflike
details: https://anonhg.NetBSD.org/src/rev/2df9f4fe71d0
branches: trunk
changeset: 358661:2df9f4fe71d0
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 12 17:54:36 2018 +0000
description:
missing printflike
diffstat:
usr.sbin/autofs/log.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 061a19b0deeb -r 2df9f4fe71d0 usr.sbin/autofs/log.c
--- a/usr.sbin/autofs/log.c Fri Jan 12 09:47:44 2018 +0000
+++ b/usr.sbin/autofs/log.c Fri Jan 12 17:54:36 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: log.c,v 1.1 2018/01/09 03:31:15 christos Exp $ */
+/* $NetBSD: log.c,v 1.2 2018/01/12 17:54:36 christos Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: log.c,v 1.1 2018/01/09 03:31:15 christos Exp $");
+__RCSID("$NetBSD: log.c,v 1.2 2018/01/12 17:54:36 christos Exp $");
#include <errno.h>
#include <stdarg.h>
@@ -89,7 +89,7 @@
peer_addr = checked_strdup(addr);
}
-static void
+static __printflike(3, 0) void
log_common(int priority, int log_errno, const char *fmt, va_list ap)
{
static char msgbuf[MSGBUF_LEN];
Home |
Main Index |
Thread Index |
Old Index