Source-Changes-HG archive

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

[src/netbsd-1-4]: src/libexec/rexecd Pull up revision 1.7 (requested by is):



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

description:
Pull up revision 1.7 (requested by is):
  Format string cleanup.

diffstat:

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

diffs (28 lines):

diff -r 4fdb95edf7bd -r abd7eaf88dc3 libexec/rexecd/rexecd.c
--- a/libexec/rexecd/rexecd.c   Tue Oct 10 21:48:05 2000 +0000
+++ b/libexec/rexecd/rexecd.c   Tue Oct 10 21:48:10 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $       */
+/*     $NetBSD: rexecd.c,v 1.6.2.1 2000/10/10 21:48:10 he Exp $        */
 
 /*
  * Copyright (c) 1983, 1993
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "from: @(#)rexecd.c     8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: rexecd.c,v 1.6 1998/07/26 19:49:03 mycroft Exp $");
+__RCSID("$NetBSD: rexecd.c,v 1.6.2.1 2000/10/10 21:48:10 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -64,7 +64,8 @@
 #include <string.h>
 #include <unistd.h>
 
-void error __P((const char *, ...));
+void error __P((const char *, ...))
+     __attribute__((__format__(__printf__, 1, 2)));
 int main __P((int, char **));
 void doit __P((int, struct sockaddr_in *));
 void getstr __P((char *, int, char *));



Home | Main Index | Thread Index | Old Index