Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/vacation revert part of previous, and change back to...



details:   https://anonhg.NetBSD.org/src/rev/c0b116b0a9ac
branches:  trunk
changeset: 502034:c0b116b0a9ac
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jan 10 23:15:42 2001 +0000

description:
revert part of previous, and change back to LOG_USER (from LOG_MAIL).
however, unlike the original behaviour, this has been done with an explicit
openlog(...,LOG_USER) to make it more obvious what facility is used.

diffstat:

 usr.bin/vacation/vacation.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c0cbec0f3df4 -r c0b116b0a9ac usr.bin/vacation/vacation.c
--- a/usr.bin/vacation/vacation.c       Wed Jan 10 22:53:22 2001 +0000
+++ b/usr.bin/vacation/vacation.c       Wed Jan 10 23:15:42 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vacation.c,v 1.18 2001/01/10 12:34:50 lukem Exp $      */
+/*     $NetBSD: vacation.c,v 1.19 2001/01/10 23:15:42 lukem Exp $      */
 
 /*
  * Copyright (c) 1983, 1987, 1993
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)vacation.c 8.2 (Berkeley) 1/26/94";
 #endif
-__RCSID("$NetBSD: vacation.c,v 1.18 2001/01/10 12:34:50 lukem Exp $");
+__RCSID("$NetBSD: vacation.c,v 1.19 2001/01/10 23:15:42 lukem Exp $");
 #endif /* not lint */
 
 /*
@@ -112,7 +112,7 @@
 
        opterr = iflag = 0;
        interval = -1;
-       openlog("vacation", 0, LOG_MAIL);
+       openlog("vacation", 0, LOG_USER);
        while ((ch = getopt(argc, argv, "a:Iir:")) != -1)
                switch((char)ch) {
                case 'a':                       /* alias */



Home | Main Index | Thread Index | Old Index