Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/sendmail/smrsh - don't use LOG_CONS (we don't need ...



details:   https://anonhg.NetBSD.org/src/rev/6720af3b796f
branches:  trunk
changeset: 502058:6720af3b796f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jan 11 02:48:11 2001 +0000

description:
- don't use LOG_CONS (we don't need smrsh spamming /dev/console if syslogd
  isn't up)
- don't use LOG_ODELAY; it's deprecated (the behaviour is the default)

diffstat:

 gnu/dist/sendmail/smrsh/smrsh.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 97f75718de0b -r 6720af3b796f gnu/dist/sendmail/smrsh/smrsh.c
--- a/gnu/dist/sendmail/smrsh/smrsh.c   Thu Jan 11 02:44:03 2001 +0000
+++ b/gnu/dist/sendmail/smrsh/smrsh.c   Thu Jan 11 02:48:11 2001 +0000
@@ -159,7 +159,7 @@
 # ifndef LOG_MAIL
        openlog("smrsh", 0);
 # else /* ! LOG_MAIL */
-       openlog("smrsh", LOG_ODELAY|LOG_CONS, LOG_MAIL);
+       openlog("smrsh", 0, LOG_MAIL);
 # endif /* ! LOG_MAIL */
 #endif /* ! DEBUG */
 



Home | Main Index | Thread Index | Old Index