Source-Changes-HG archive

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

[src/netbsd-1-4]: src/libexec/rshd Pull up revision 1.20 (via patch, requeste...



details:   https://anonhg.NetBSD.org/src/rev/de94796f0b0d
branches:  netbsd-1-4
changeset: 470976:de94796f0b0d
user:      he <he%NetBSD.org@localhost>
date:      Tue Oct 10 21:51:19 2000 +0000

description:
Pull up revision 1.20 (via patch, requested by is):
  Format string cleanup.

diffstat:

 libexec/rshd/rshd.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 8471fe2652b5 -r de94796f0b0d libexec/rshd/rshd.c
--- a/libexec/rshd/rshd.c       Tue Oct 10 21:48:22 2000 +0000
+++ b/libexec/rshd/rshd.c       Tue Oct 10 21:51:19 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rshd.c,v 1.16 1998/08/10 02:57:24 perry Exp $  */
+/*     $NetBSD: rshd.c,v 1.16.2.1 2000/10/10 21:51:19 he Exp $ */
 
 /*-
  * Copyright (c) 1988, 1989, 1992, 1993, 1994
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)rshd.c     8.2 (Berkeley) 4/6/94";
 #else
-__RCSID("$NetBSD: rshd.c,v 1.16 1998/08/10 02:57:24 perry Exp $");
+__RCSID("$NetBSD: rshd.c,v 1.16.2.1 2000/10/10 21:51:19 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -78,7 +78,8 @@
 int    sent_null;
 
 void    doit __P((struct sockaddr_in *));
-void    error __P((const char *, ...));
+void    error __P((const char *, ...))
+     __attribute__((__format__(__printf__, 1, 2)));
 void    getstr __P((char *, int, char *));
 int     local_domain __P((char *));
 char   *topdomain __P((char *));



Home | Main Index | Thread Index | Old Index