Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.bin/rdist Pull up revision 1.19 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/f7c1cc3a1c96
branches:  netbsd-1-4
changeset: 471088:f7c1cc3a1c96
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 16:32:27 2000 +0000

description:
Pull up revision 1.19 (requested by he):
  Format string cleanup.

diffstat:

 usr.bin/rdist/server.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r feb3781a8bbf -r f7c1cc3a1c96 usr.bin/rdist/server.c
--- a/usr.bin/rdist/server.c    Thu Oct 19 16:32:25 2000 +0000
+++ b/usr.bin/rdist/server.c    Thu Oct 19 16:32:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: server.c,v 1.17 1998/12/19 20:34:53 christos Exp $     */
+/*     $NetBSD: server.c,v 1.17.2.1 2000/10/19 16:32:27 he Exp $       */
 
 /*
  * Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)server.c   8.1 (Berkeley) 6/9/93";
 #else
-__RCSID("$NetBSD: server.c,v 1.17 1998/12/19 20:34:53 christos Exp $");
+__RCSID("$NetBSD: server.c,v 1.17.2.1 2000/10/19 16:32:27 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -72,7 +72,8 @@
 static void    dospecial __P((char *));
 static int     fchtogm __P((int, char *, time_t, char *, char *, mode_t));
 static void    hardlink __P((char *));
-static void    note __P((const char *, ...));
+static void    note __P((const char *, ...))
+     __attribute__((__format__(__printf__, 1, 2)));
 static void    query __P((char *));
 static void    recvf __P((char *, int));
 static void    removeit __P((struct stat *));



Home | Main Index | Thread Index | Old Index