From owner-freebsd-current Fri May 24 2:12:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by hub.freebsd.org (Postfix) with ESMTP id 5FE2337B409 for ; Fri, 24 May 2002 02:12:50 -0700 (PDT) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 17BB7v-0004hO-00 for current@freebsd.org; Fri, 24 May 2002 13:12:47 +0400 Subject: pamlib extra debug From: "Vladimir B. " Grebenschikov To: current@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 24 May 2002 13:12:47 +0400 Message-Id: <1022231567.17982.2.camel@vbook.express.ru> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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