From 4f46e07209b24af2cea83739d4440ff17802405e Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 12 May 2016 10:33:32 -0600 Subject: [PATCH] Avoid adding an extraneous warning string to sudoers.pot. --- plugins/sudoers/auth/pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sudoers/auth/pam.c b/plugins/sudoers/auth/pam.c index 502703e2f..740c76ece 100644 --- a/plugins/sudoers/auth/pam.c +++ b/plugins/sudoers/auth/pam.c @@ -303,7 +303,7 @@ sudo_pam_begin_session(struct passwd *pw, char **user_envp[], sudo_auth *auth) *pam_status = pam_open_session(pamh, 0); if (*pam_status != PAM_SUCCESS) { const char *errstr = pam_strerror(pamh, *pam_status); - log_warningx(0, N_("pam_open_session: %s"), + log_warningx(0, N_("%s: %s"), "pam_open_session", errstr ? errstr : "unknown error"); rc = pam_end(pamh, *pam_status | PAM_DATA_SILENT); if (rc != PAM_SUCCESS) { -- 2.40.0