]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs:
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 8 Oct 2010 11:53:38 +0000 (11:53 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 8 Oct 2010 11:53:38 +0000 (11:53 +0000)
Purpose of commit: bugfix

Commit summary:
---------------
2010-10-07  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_selinux/pam_selinux.c (verbose_message): Fix format
string.

ChangeLog
modules/pam_selinux/pam_selinux.c

index 1b8e59995aedc7d4e5dab542ae3128f92a87aa7b..17336ac6af659da1b4651099c0295c4e81bab98c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-07  Dmitry V. Levin  <ldv@altlinux.org>
+
+       * modules/pam_selinux/pam_selinux.c (verbose_message): Fix format
+       string.
+
 2010-10-04  Dmitry V. Levin  <ldv@altlinux.org>
 
        * libpam/pam_modutil_priv.c: New file.
index c6f887a6b50565306034264904089c4c97db69b0..1f412d179a48075cedff2f4766e04c66d5633c86 100644 (file)
@@ -545,9 +545,9 @@ static void
 verbose_message(pam_handle_t *pamh, char *msg, int debug)
 {
   if (debug)
-    pam_syslog(pamh, LOG_NOTICE, msg);
+    pam_syslog(pamh, LOG_NOTICE, "%s", msg);
 
-  pam_info (pamh, "%s", msg);
+  pam_info(pamh, "%s", msg);
 }
 
 PAM_EXTERN int