Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/pam-u2f/dist back to LOG_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/5f47a98653e7
branches:  trunk
changeset: 1007868:5f47a98653e7
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Mar 03 00:21:20 2020 +0000

description:
back to LOG_DEBUG

diffstat:

 external/bsd/pam-u2f/dist/util.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 27e3822512d4 -r 5f47a98653e7 external/bsd/pam-u2f/dist/util.c
--- a/external/bsd/pam-u2f/dist/util.c  Tue Mar 03 00:20:45 2020 +0000
+++ b/external/bsd/pam-u2f/dist/util.c  Tue Mar 03 00:21:20 2020 +0000
@@ -1165,8 +1165,8 @@
   va_start(ap, fmt);
 #ifdef LOG_DEBUG
   if (debug_file == (FILE *) -1) {
-    syslog(LOG_AUTHPRIV | LOG_ERR, DEBUG_STR, file, line, func);
-    vsyslog(LOG_AUTHPRIV | LOG_ERR, fmt, ap);
+    syslog(LOG_AUTHPRIV | LOG_DEBUG, DEBUG_STR, file, line, func);
+    vsyslog(LOG_AUTHPRIV | LOG_DEBUG, fmt, ap);
   } else {
     fprintf(debug_file, DEBUG_STR, file, line, func);
     vfprintf(debug_file, fmt, ap);



Home | Main Index | Thread Index | Old Index