Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/faithd Pullup by patch [itojun]:



details:   https://anonhg.NetBSD.org/src/rev/deca51333405
branches:  netbsd-1-5
changeset: 489909:deca51333405
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Oct 18 17:01:51 2000 +0000

description:
Pullup by patch [itojun]:
printf-format audit.  from sommrfeld%netbsd.org@localhost.  sync with kame.

diffstat:

 usr.sbin/faithd/faithd.c |   4 ++--
 usr.sbin/faithd/faithd.h |  13 ++++++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r 8b8977b68941 -r deca51333405 usr.sbin/faithd/faithd.c
--- a/usr.sbin/faithd/faithd.c  Wed Oct 18 16:47:35 2000 +0000
+++ b/usr.sbin/faithd/faithd.c  Wed Oct 18 17:01:51 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: faithd.c,v 1.10.2.2 2000/07/07 11:33:34 itojun Exp $   */
-/*     $KAME: faithd.c,v 1.19 2000/06/29 01:17:29 itojun Exp $ */
+/*     $NetBSD: faithd.c,v 1.10.2.3 2000/10/18 17:01:51 tv Exp $       */
+/*     $KAME: faithd.c,v 1.31 2000/10/05 22:20:37 itojun Exp $ */
 
 /*
  * Copyright (C) 1997 and 1998 WIDE Project.
diff -r 8b8977b68941 -r deca51333405 usr.sbin/faithd/faithd.h
--- a/usr.sbin/faithd/faithd.h  Wed Oct 18 16:47:35 2000 +0000
+++ b/usr.sbin/faithd/faithd.h  Wed Oct 18 17:01:51 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: faithd.h,v 1.3 2000/05/31 03:18:02 itojun Exp $        */
-/*     $KAME: faithd.h,v 1.2 2000/05/31 03:06:07 itojun Exp $  */
+/*     $NetBSD: faithd.h,v 1.3.2.1 2000/10/18 17:01:51 tv Exp $        */
+/*     $KAME: faithd.h,v 1.6 2000/10/05 22:20:37 itojun Exp $  */
 
 /*
  * Copyright (C) 1997 and 1998 WIDE Project.
@@ -39,9 +39,12 @@
 extern int ftp_passive __P((int, int, int *, int *));
 extern void rsh_relay __P((int, int));
 extern void rsh_dual_relay __P((int, int));
-extern void exit_error __P((const char *fmt, ...));
-extern void exit_success __P((const char *fmt, ...));
-extern void exit_failure __P((const char *fmt, ...));
+extern void exit_error __P((const char *, ...))
+       __attribute__((__format__(__printf__, 1, 2)));
+extern void exit_success __P((const char *, ...))
+       __attribute__((__format__(__printf__, 1, 2)));
+extern void exit_failure __P((const char *, ...))
+       __attribute__((__format__(__printf__, 1, 2)));
 
 #define DEFAULT_PORT_NAME      "telnet"
 #define DEFAULT_PATH   "/usr/libexec/telnetd"



Home | Main Index | Thread Index | Old Index