Module Name: src
Committed By: dholland
Date: Sun Jan 13 23:45:35 UTC 2013
Modified Files:
src/sbin/dump: dump.h
Log Message:
Use __printflike.
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sbin/dump/dump.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/dump/dump.h
diff -u src/sbin/dump/dump.h:1.48 src/sbin/dump/dump.h:1.49
--- src/sbin/dump/dump.h:1.48 Sun Jan 13 22:53:01 2013
+++ src/sbin/dump/dump.h Sun Jan 13 23:45:35 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: dump.h,v 1.48 2013/01/13 22:53:01 dholland Exp $ */
+/* $NetBSD: dump.h,v 1.49 2013/01/13 23:45:35 dholland Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -175,10 +175,10 @@ void fs_mapinodes(ino_t, u_int64_t *, in
/* operator interface functions */
void broadcast(const char *);
void lastdump(char);
-void msg(const char *fmt, ...) __attribute__((__format__(__printf__,1,2)));
-void msgtail(const char *fmt, ...) __attribute__((__format__(__printf__,1,2)));
+void msg(const char *fmt, ...) __printflike(1, 2);
+void msgtail(const char *fmt, ...) __printflike(1, 2);
int query(const char *);
-void quit(const char *fmt, ...) __attribute__((__format__(__printf__,1,2)));
+void quit(const char *fmt, ...) __printflike(1, 2);
time_t do_stats(void);
void statussig(int);
void timeest(void);