* krshd.c (main): Use LOG_AUTH syslog facility, not LOG_DAEMON, for consistency
authorKen Raeburn <raeburn@mit.edu>
Tue, 8 Apr 2003 23:27:55 +0000 (23:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 8 Apr 2003 23:27:55 +0000 (23:27 +0000)
with krlogind.c.

ticket: 844
status: open
target_version: 1.3
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15325 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/bsd/ChangeLog
src/appl/bsd/krshd.c

index e5cdb1225fc5da791fdb56f7cc3a2a3af35a5d67..a6419495a220a30ca6ad721c98f32690ef90bf12 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-08  Ken Raeburn  <raeburn@mit.edu>
+
+       * krshd.c (main): Use LOG_AUTH syslog facility, not LOG_DAEMON,
+       for consistency with krlogind.c.
+
 2003-03-28  Ken Raeburn  <raeburn@mit.edu>
 
        * kcmd.c (kcmd_connect): Log errors if a connect to port 0 is
index 2a67b761308f4fc61baa8cb3af113f99bcec3edd..adad7ea2ff96643da040e030ef168a6a57182fba 100644 (file)
@@ -303,10 +303,10 @@ int main(argc, argv)
 #ifndef LOG_ODELAY /* 4.2 syslog */
     openlog(progname, LOG_PID);
 #else
-#ifndef LOG_DAEMON
-#define LOG_DAEMON 0
+#ifndef LOG_AUTH
+#define LOG_AUTH 0
 #endif
-    openlog(progname, LOG_PID | LOG_ODELAY, LOG_DAEMON);       
+    openlog(progname, LOG_PID | LOG_ODELAY, LOG_AUTH);
 #endif /* 4.2 syslog */
     
 #ifdef KERBEROS