Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/gpt gpt_vwarnx is printf-like.
details: https://anonhg.NetBSD.org/src/rev/dff05739d95d
branches: trunk
changeset: 342781:dff05739d95d
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Jan 08 18:59:01 2016 +0000
description:
gpt_vwarnx is printf-like.
diffstat:
sbin/gpt/gpt.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 9280cd9eff05 -r dff05739d95d sbin/gpt/gpt.c
--- a/sbin/gpt/gpt.c Fri Jan 08 17:34:57 2016 +0000
+++ b/sbin/gpt/gpt.c Fri Jan 08 18:59:01 2016 +0000
@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD: src/sbin/gpt/gpt.c,v 1.16 2006/07/07 02:44:23 marcel Exp $");
#endif
#ifdef __RCSID
-__RCSID("$NetBSD: gpt.c,v 1.66 2015/12/29 16:45:04 christos Exp $");
+__RCSID("$NetBSD: gpt.c,v 1.67 2016/01/08 18:59:01 joerg Exp $");
#endif
#include <sys/param.h>
@@ -592,6 +592,7 @@
close(gpt->fd);
}
+__printflike(2, 0)
static void
gpt_vwarnx(gpt_t gpt, const char *fmt, va_list ap, const char *e)
{
Home |
Main Index |
Thread Index |
Old Index