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.
This commit is contained in:
lukem 2001-01-10 23:15:42 +00:00
parent c7121de1da
commit b792d3dea5
1 changed files with 3 additions and 3 deletions

View File

@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1987, 1993\n\
#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 @@ main(int argc, char **argv)
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 */