Date: 24 May 2002 13:12:47 +0400 From: "Vladimir B. " Grebenschikov <vova@sw.ru> To: current@freebsd.org Subject: pamlib extra debug Message-ID: <1022231567.17982.2.camel@vbook.express.ru>
next in thread | raw e-mail | index | archive | help
Hi ppl
It seems that extra DEBUG forgotten for pamlib in -CURRENT.
Following patch cures problem:
diff -u -r1.1.1.7 openpam_log.c
--- contrib/openpam/lib/openpam_log.c 16 Apr 2002 22:04:22 -0000
1.1.1.7
+++ contrib/openpam/lib/openpam_log.c 24 May 2002 08:16:53 -0000
@@ -106,6 +106,9 @@
switch (level) {
case PAM_LOG_DEBUG:
+#ifndef DEBUG
+ return;
+#endif
priority = LOG_DEBUG;
break;
case PAM_LOG_VERBOSE:
Same section presents in previosly defined _openlog_pam but forgotten in
openlog_pam.
Fix it please.
--
Vladimir B. Grebenschikov
vova@sw.ru, SWsoft, Inc.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1022231567.17982.2.camel>
