Module Name: src Committed By: dholland Date: Wed Mar 30 05:21:00 UTC 2011
Modified Files: src/usr.sbin/ypbind: ypbind.c Log Message: use __printflike() To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/usr.sbin/ypbind/ypbind.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/ypbind/ypbind.c diff -u src/usr.sbin/ypbind/ypbind.c:1.61 src/usr.sbin/ypbind/ypbind.c:1.62 --- src/usr.sbin/ypbind/ypbind.c:1.61 Fri Nov 6 15:41:58 2009 +++ src/usr.sbin/ypbind/ypbind.c Wed Mar 30 05:20:59 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ypbind.c,v 1.61 2009/11/06 15:41:58 skrll Exp $ */ +/* $NetBSD: ypbind.c,v 1.62 2011/03/30 05:20:59 dholland Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <dera...@fsa.ca> @@ -28,7 +28,7 @@ #include <sys/cdefs.h> #ifndef LINT -__RCSID("$NetBSD: ypbind.c,v 1.61 2009/11/06 15:41:58 skrll Exp $"); +__RCSID("$NetBSD: ypbind.c,v 1.62 2011/03/30 05:20:59 dholland Exp $"); #endif #include <sys/param.h> @@ -124,8 +124,7 @@ int main(int, char *[]); static void usage(void); -static void yp_log(int, const char *, ...) - __attribute__((__format__(__printf__, 2, 3))); +static void yp_log(int, const char *, ...) __printflike(2, 3); static struct _dom_binding *makebinding(const char *); static int makelock(struct _dom_binding *); static void removelock(struct _dom_binding *);