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/733ca74ad7b4
branches:  trunk
changeset: 969833:733ca74ad7b4
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 51a443c2ec14 -r 733ca74ad7b4 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