summaryrefslogtreecommitdiff
path: root/usr.sbin/ypbind
diff options
context:
space:
mode:
authoris <is@NetBSD.org>2000-10-11 20:23:46 +0000
committeris <is@NetBSD.org>2000-10-11 20:23:46 +0000
commitd8302e2d73ac3fde74ec6f157dcba7ddbd24fed2 (patch)
tree82097652f5c91d8e45d5b43f53eb7470aa1d0392 /usr.sbin/ypbind
parent7f3f19a0680c4d2c4b935a576fa930aac4a3d26d (diff)
More format string cleanups by sommerfeld.
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r--usr.sbin/ypbind/ypbind.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index df5b0f127a7..ca39642e3f0 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ypbind.c,v 1.42 2000/04/11 11:36:47 itojun Exp $ */
+/* $NetBSD: ypbind.c,v 1.43 2000/10/11 20:23:58 is Exp $ */
/*
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt@fsa.ca>
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef LINT
-__RCSID("$NetBSD: ypbind.c,v 1.42 2000/04/11 11:36:47 itojun Exp $");
+__RCSID("$NetBSD: ypbind.c,v 1.43 2000/10/11 20:23:58 is Exp $");
#endif
#include <sys/param.h>
@@ -135,7 +135,8 @@ int _yp_invalid_domain __P((const char *)); /* from libc */
int main __P((int, char *[]));
static void usage __P((void));
-static void yp_log __P((int, const char *, ...));
+static void yp_log __P((int, const char *, ...))
+ __attribute__((__format__(__printf__, 2, 3)));
static struct _dom_binding *makebinding __P((const char *));
static int makelock __P((struct _dom_binding *));
static void removelock __P((struct _dom_binding *));