Module Name: src Committed By: joerg Date: Mon Nov 6 19:12:23 UTC 2017
Modified Files: src/usr.sbin/rtadvd: rtadvd.c Log Message: Mark expandm as preserving format strings. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/rtadvd/rtadvd.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/rtadvd/rtadvd.c diff -u src/usr.sbin/rtadvd/rtadvd.c:1.57 src/usr.sbin/rtadvd/rtadvd.c:1.58 --- src/usr.sbin/rtadvd/rtadvd.c:1.57 Mon Nov 6 15:15:04 2017 +++ src/usr.sbin/rtadvd/rtadvd.c Mon Nov 6 19:12:23 2017 @@ -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 @@ ra_timer_update(void *data, struct times (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) {