Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 06:15:28 -0800 (PST)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 21902 for review
Message-ID:  <200212041415.gB4EFSwf040572@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21902

Change 21902 by des@des.at.des.thinksec.com on 2002/12/04 06:15:03

	Make the log level default to PAM_LOG_ERROR.

Affected files ...

.. //depot/projects/openpam/lib/openpam_log.c#16 edit

Differences ...

==== //depot/projects/openpam/lib/openpam_log.c#16 (text+ko) ====

@@ -31,7 +31,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/openpam/lib/openpam_log.c#15 $
+ * $P4: //depot/projects/openpam/lib/openpam_log.c#16 $
  */
 
 #include <ctype.h>
@@ -74,6 +74,7 @@
 		priority = LOG_NOTICE;
 		break;
 	case PAM_LOG_ERROR:
+	default:
 		priority = LOG_ERR;
 		break;
 	}
@@ -118,6 +119,7 @@
 		priority = LOG_NOTICE;
 		break;
 	case PAM_LOG_ERROR:
+	default:
 		priority = LOG_ERR;
 		break;
 	}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212041415.gB4EFSwf040572>