Module Name: src Committed By: joerg Date: Fri Jan 8 18:59:01 UTC 2016
Modified Files: src/sbin/gpt: gpt.c Log Message: gpt_vwarnx is printf-like. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sbin/gpt/gpt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sbin/gpt/gpt.c diff -u src/sbin/gpt/gpt.c:1.66 src/sbin/gpt/gpt.c:1.67 --- src/sbin/gpt/gpt.c:1.66 Tue Dec 29 16:45:04 2015 +++ src/sbin/gpt/gpt.c Fri Jan 8 18:59:01 2016 @@ -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 @@ out: close(gpt->fd); } +__printflike(2, 0) static void gpt_vwarnx(gpt_t gpt, const char *fmt, va_list ap, const char *e) {