Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/ypbind Pull up revision 1.43 (requested by he):
details: https://anonhg.NetBSD.org/src/rev/63e9022465d2
branches: netbsd-1-4
changeset: 471143:63e9022465d2
user: he <he%NetBSD.org@localhost>
date: Thu Oct 19 17:05:59 2000 +0000
description:
Pull up revision 1.43 (requested by he):
Format string cleanup.
diffstat:
usr.sbin/ypbind/ypbind.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 2cf4838b7fb8 -r 63e9022465d2 usr.sbin/ypbind/ypbind.c
--- a/usr.sbin/ypbind/ypbind.c Thu Oct 19 17:05:56 2000 +0000
+++ b/usr.sbin/ypbind/ypbind.c Thu Oct 19 17:05:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ypbind.c,v 1.38 1999/02/12 15:04:01 kleink Exp $ */
+/* $NetBSD: ypbind.c,v 1.38.2.1 2000/10/19 17:05:59 he Exp $ */
/*
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt%fsa.ca@localhost>
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef LINT
-__RCSID("$NetBSD: ypbind.c,v 1.38 1999/02/12 15:04:01 kleink Exp $");
+__RCSID("$NetBSD: ypbind.c,v 1.38.2.1 2000/10/19 17:05:59 he Exp $");
#endif
#include <sys/param.h>
@@ -133,7 +133,8 @@
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 *));
Home |
Main Index |
Thread Index |
Old Index