* src/chage.c: Fix the format for long integers (from %ul to %lu).
This commit is contained in:
parent
4507bd32af
commit
8e6c4b2e07
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user