summaryrefslogtreecommitdiff
path: root/modules/pam_pwhistory
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_pwhistory')
-rw-r--r--modules/pam_pwhistory/opasswd.c2
1 files changed, 1 insertions, 1 deletions
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)
{