From: Peter Avalos Date: Sun, 8 Feb 2009 16:29:01 +0000 (-0500) Subject: Add a __printflike. X-Git-Tag: v2.3.1~152^2~56 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/53242694459fb2236a7e6b6fd36543c91bd72ae0 Add a __printflike. Obtained-from: FreeBSD --- diff --git a/lib/libc/db/test/dbtest.c b/lib/libc/db/test/dbtest.c index 57e7d0c..5769324 100644 --- a/lib/libc/db/test/dbtest.c +++ b/lib/libc/db/test/dbtest.c @@ -51,7 +51,7 @@ enum S { COMMAND, COMPARE, GET, PUT, REMOVE, SEQ, SEQFLAG, KEY, DATA }; void compare (DBT *, DBT *); DBTYPE dbtype (char *); void dump (DB *, int); -void err (const char *, ...); +void err (const char *, ...) __printflike(1, 2); void get (DB *, DBT *); void getdata (DB *, DBT *, DBT *); void put (DB *, DBT *, DBT *);