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 1.10 -> 1.11; careful about sysl...
details: https://anonhg.NetBSD.org/src/rev/2897132c560f
branches: netbsd-1-5
changeset: 488321:2897132c560f
user: itojun <itojun%NetBSD.org@localhost>
date: Thu Jun 29 07:08:05 2000 +0000
description:
pullup 1.10 -> 1.11; careful about syslog(3) arg
diffstat:
usr.sbin/faithd/faithd.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 93df3e4d6195 -r 2897132c560f usr.sbin/faithd/faithd.c
--- a/usr.sbin/faithd/faithd.c Thu Jun 29 02:22:40 2000 +0000
+++ b/usr.sbin/faithd/faithd.c Thu Jun 29 07:08:05 2000 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: faithd.c,v 1.10 2000/05/31 03:18:02 itojun Exp $ */
-/* $KAME: faithd.c,v 1.18 2000/05/31 03:06:07 itojun Exp $ */
+/* $NetBSD: faithd.c,v 1.10.2.1 2000/06/29 07:08:05 itojun Exp $ */
+/* $KAME: faithd.c,v 1.19 2000/06/29 01:17:29 itojun Exp $ */
/*
* Copyright (C) 1997 and 1998 WIDE Project.
@@ -664,7 +664,7 @@
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
- syslog(LOG_ERR, buf);
+ syslog(LOG_ERR, "%s", buf);
exit(EXIT_FAILURE);
}
@@ -677,7 +677,7 @@
va_start(ap, fmt);
vsnprintf(buf, sizeof(buf), fmt, ap);
va_end(ap);
- syslog(LOG_INFO, buf);
+ syslog(LOG_INFO, "%s", buf);
exit(EXIT_SUCCESS);
}
Home |
Main Index |
Thread Index |
Old Index