Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/rtadvd Mark expandm as preserving format strings.
details: https://anonhg.NetBSD.org/src/rev/afc425ca70b1
branches: trunk
changeset: 357343:afc425ca70b1
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Nov 06 19:12:23 2017 +0000
description:
Mark expandm as preserving format strings.
diffstat:
usr.sbin/rtadvd/rtadvd.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 335dd0415216 -r afc425ca70b1 usr.sbin/rtadvd/rtadvd.c
--- a/usr.sbin/rtadvd/rtadvd.c Mon Nov 06 18:41:22 2017 +0000
+++ b/usr.sbin/rtadvd/rtadvd.c Mon Nov 06 19:12:23 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtadvd.c,v 1.57 2017/11/06 15:15:04 christos Exp $ */
+/* $NetBSD: rtadvd.c,v 1.58 2017/11/06 19:12:23 joerg Exp $ */
/* $KAME: rtadvd.c,v 1.92 2005/10/17 14:40:02 suz Exp $ */
/*
@@ -1843,6 +1843,7 @@
(intmax_t)tm->tv_sec, (intmax_t)tm->tv_nsec);
}
+ __format_arg(3)
static const char *
expandm(char *buf, size_t len, const char *fmt)
{
Home |
Main Index |
Thread Index |
Old Index