From bd093f250963e33c98801a1058de337e38ca1ef0 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 8 Oct 2010 11:53:38 +0000 Subject: Relevant BUGIDs: Purpose of commit: bugfix Commit summary: --------------- 2010-10-07 Dmitry V. Levin * modules/pam_selinux/pam_selinux.c (verbose_message): Fix format string. --- modules/pam_selinux/pam_selinux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/pam_selinux/pam_selinux.c') diff --git a/modules/pam_selinux/pam_selinux.c b/modules/pam_selinux/pam_selinux.c index c6f887a6..1f412d17 100644 --- a/modules/pam_selinux/pam_selinux.c +++ b/modules/pam_selinux/pam_selinux.c @@ -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 -- cgit v1.2.3