Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin don't use LOG_CONS
details: https://anonhg.NetBSD.org/src/rev/97f75718de0b
branches: trunk
changeset: 502057:97f75718de0b
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Jan 11 02:44:03 2001 +0000
description:
don't use LOG_CONS
diffstat:
usr.sbin/isdn/isdnd/log.c | 6 +++---
usr.sbin/rpcbind/rpcbind.c | 4 ++--
usr.sbin/sesd/srcs/sesd.c | 6 +++---
usr.sbin/timed/timed/timed.c | 8 ++++----
4 files changed, 12 insertions(+), 12 deletions(-)
diffs (98 lines):
diff -r 1462e35f0266 -r 97f75718de0b usr.sbin/isdn/isdnd/log.c
--- a/usr.sbin/isdn/isdnd/log.c Thu Jan 11 02:39:43 2001 +0000
+++ b/usr.sbin/isdn/isdnd/log.c Thu Jan 11 02:44:03 2001 +0000
@@ -27,7 +27,7 @@
* i4b daemon - logging routines
* -----------------------------
*
- * $Id: log.c,v 1.2 2001/01/08 07:18:54 martin Exp $
+ * $Id: log.c,v 1.3 2001/01/11 02:44:03 lukem Exp $
*
* $FreeBSD$
*
@@ -89,11 +89,11 @@
#if DEBUG
if(do_debug && do_fork == 0 && do_fullscreen == 0)
(void)openlog("isdnd",
- LOG_PID|LOG_CONS|LOG_NDELAY|LOG_PERROR,
+ LOG_PID|LOG_NDELAY|LOG_PERROR,
logfacility);
else
#endif
- (void)openlog("isdnd", LOG_PID|LOG_CONS|LOG_NDELAY,
+ (void)openlog("isdnd", LOG_PID|LOG_NDELAY,
logfacility);
}
diff -r 1462e35f0266 -r 97f75718de0b usr.sbin/rpcbind/rpcbind.c
--- a/usr.sbin/rpcbind/rpcbind.c Thu Jan 11 02:39:43 2001 +0000
+++ b/usr.sbin/rpcbind/rpcbind.c Thu Jan 11 02:44:03 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rpcbind.c,v 1.1 2000/06/02 23:15:42 fvdl Exp $ */
+/* $NetBSD: rpcbind.c,v 1.2 2001/01/11 02:45:31 lukem Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -125,7 +125,7 @@
rl.rlim_cur = 128;
setrlimit(RLIMIT_NOFILE, &rl);
}
- openlog("rpcbind", LOG_CONS, LOG_DAEMON);
+ openlog("rpcbind", 0, LOG_DAEMON);
if (geteuid()) { /* This command allowed only to root */
fprintf(stderr, "Sorry. You are not superuser\n");
exit(1);
diff -r 1462e35f0266 -r 97f75718de0b usr.sbin/sesd/srcs/sesd.c
--- a/usr.sbin/sesd/srcs/sesd.c Thu Jan 11 02:39:43 2001 +0000
+++ b/usr.sbin/sesd/srcs/sesd.c Thu Jan 11 02:44:03 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sesd.c,v 1.3 2000/10/11 20:23:56 is Exp $ */
+/* $NetBSD: sesd.c,v 1.4 2001/01/11 02:46:21 lukem Exp $ */
/* $FreeBSD: $ */
/* $OpenBSD: $ */
/*
@@ -111,9 +111,9 @@
perror("daemon");
return (1);
}
- openlog("sesd", LOG_CONS, LOG_USER);
+ openlog("sesd", 0, LOG_USER);
} else {
- openlog("sesd", LOG_CONS|LOG_PERROR, LOG_USER);
+ openlog("sesd", LOG_PERROR, LOG_USER);
}
for (;;) {
diff -r 1462e35f0266 -r 97f75718de0b usr.sbin/timed/timed/timed.c
--- a/usr.sbin/timed/timed/timed.c Thu Jan 11 02:39:43 2001 +0000
+++ b/usr.sbin/timed/timed/timed.c Thu Jan 11 02:44:03 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timed.c,v 1.11 1999/06/06 03:37:28 thorpej Exp $ */
+/* $NetBSD: timed.c,v 1.12 2001/01/11 02:46:43 lukem Exp $ */
/*-
* Copyright (c) 1985, 1993 The Regents of the University of California.
@@ -44,12 +44,12 @@
#if 0
static char sccsid[] = "@(#)timed.c 8.2 (Berkeley) 3/26/95";
#else
-__RCSID("$NetBSD: timed.c,v 1.11 1999/06/06 03:37:28 thorpej Exp $");
+__RCSID("$NetBSD: timed.c,v 1.12 2001/01/11 02:46:43 lukem Exp $");
#endif
#endif /* not lint */
#ifdef sgi
-#ident "$Revision: 1.11 $"
+#ident "$Revision: 1.12 $"
#endif /* sgi */
#define TSPTYPES
@@ -508,7 +508,7 @@
if (trace)
traceon();
- openlog("timed", LOG_CONS|LOG_PID, LOG_DAEMON);
+ openlog("timed", LOG_PID, LOG_DAEMON);
/*
* keep returning here
Home |
Main Index |
Thread Index |
Old Index