]> granicus.if.org Git - shadow/commitdiff
* src/chage.c: Fix the format for long integers (from %ul to %lu).
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 31 Aug 2008 17:27:47 +0000 (17:27 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 31 Aug 2008 17:27:47 +0000 (17:27 +0000)
ChangeLog
src/chage.c

index 513aad97e46a6aa80e127acf0e04bff521fbf1f8..961302d0ad48797c53712c3012bd36519eeb76d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * src/chage.c: Fix the format for long integers (from %ul to %lu).
+
 2008-08-28  Nicolas François  <nicolas.francois@centraliens.net>
 
        * libmisc/utmp.c: Mark the line and host arguments of setutmp() as
index f3fee24273b36bbca7559ac67f4735a199ca7b64..269c7efe897c6b17657f2c7d494093755e9784b9 100644 (file)
@@ -282,7 +282,7 @@ static void print_date (time_t date)
 
        tp = gmtime (&date);
        if (NULL == tp) {
-               (void) printf ("time_t: %ul\n", date);
+               (void) printf ("time_t: %lu\n", date);
        } else {
                (void) strftime (buf, sizeof buf, "%b %d, %Y", tp);
                (void) puts (buf);
@@ -298,7 +298,7 @@ static void print_date (time_t date)
        if (NULL != cp) {
                (void) printf ("%6.6s, %4.4s\n", cp + 4, cp + 20);
        } else {
-               (void) printf ("time_t: %ul\n", date);
+               (void) printf ("time_t: %lu\n", date);
        }
 #endif
 }