Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ypserv/yppush add openlog(...,pid, daemon)
details: https://anonhg.NetBSD.org/src/rev/99a139c502a6
branches: trunk
changeset: 502039:99a139c502a6
user: lukem <lukem%NetBSD.org@localhost>
date: Thu Jan 11 00:16:11 2001 +0000
description:
add openlog(...,pid, daemon)
diffstat:
usr.sbin/ypserv/yppush/yppush.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 00d1f6827b56 -r 99a139c502a6 usr.sbin/ypserv/yppush/yppush.c
--- a/usr.sbin/ypserv/yppush/yppush.c Wed Jan 10 23:48:54 2001 +0000
+++ b/usr.sbin/ypserv/yppush/yppush.c Thu Jan 11 00:16:11 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: yppush.c,v 1.14 2000/09/13 21:40:15 thorpej Exp $ */
+/* $NetBSD: yppush.c,v 1.15 2001/01/11 00:16:11 lukem Exp $ */
/*
*
@@ -145,6 +145,7 @@
argv += optind;
if (argc != 1)
usage();
+ openlog("yppush", LOG_PID, LOG_DAEMON);
ypi.map = argv[0];
if (strlen(ypi.map) > YPMAXMAP)
errx(1, "%s: map name too long (limit %d)", ypi.map, YPMAXMAP);
Home |
Main Index |
Thread Index |
Old Index