]> granicus.if.org Git - shadow/commitdiff
Fix typo.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 3 Feb 2008 21:53:30 +0000 (21:53 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 3 Feb 2008 21:53:30 +0000 (21:53 +0000)
src/usermod.c

index f4b16800145bc81c784c9bc941e13e64f95e5fe3..5246650a051364f5c0b9548cc0b56fd23736b0f2 100644 (file)
@@ -470,9 +470,9 @@ static void new_spent (struct spwd *spent)
        if (eflg) {
                /* log dates rather than numbers of days. */
                char new_exp[16], old_exp[16];
-               date_to_str (new_exp, sizeof(16),
+               date_to_str (new_exp, sizeof(new_exp),
                             user_newexpire * DAY, "never");
-               date_to_str (old_exp, sizeof(16),
+               date_to_str (old_exp, sizeof(old_exp),
                             user_expire * DAY, "never");
 #ifdef WITH_AUDIT
                audit_logger (AUDIT_USER_CHAUTHTOK, Prog,