From cf4f02cdbdd015b8360cc3fdf905afc2602b4d37 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Tue, 25 Nov 2008 14:29:41 +0000 Subject: Relevant BUGIDs: Purpose of commit: bugfix Commit summary: --------------- 2008-11-25 Thorsten Kukuk * modules/pam_pwhistory/opasswd.c (save_old_password): Fix typo. --- modules/pam_pwhistory/opasswd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/pam_pwhistory/opasswd.c b/modules/pam_pwhistory/opasswd.c index 89452d3f..fd4cd251 100644 --- a/modules/pam_pwhistory/opasswd.c +++ b/modules/pam_pwhistory/opasswd.c @@ -381,7 +381,7 @@ save_old_password (pam_handle_t *pamh, const char *user, uid_t uid, } else { - if (asprintf (&out, "%s:%si%d:%s,%s\n", + if (asprintf (&out, "%s:%s:%d:%s,%s\n", entry.user, entry.uid, entry.count, entry.old_passwords, oldpass) < 0) { -- cgit v1.2.3