[Pkg-shadow-commits] r2313 - in upstream/trunk: . src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Sun Aug 31 17:27:47 UTC 2008
Author: nekral-guest
Date: 2008-08-31 17:27:47 +0000 (Sun, 31 Aug 2008)
New Revision: 2313
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/chage.c
Log:
* src/chage.c: Fix the format for long integers (from %ul to %lu).
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-08-31 17:27:37 UTC (rev 2312)
+++ upstream/trunk/ChangeLog 2008-08-31 17:27:47 UTC (rev 2313)
@@ -1,5 +1,9 @@
2008-08-28 Nicolas François <nicolas.francois at centraliens.net>
+ * src/chage.c: Fix the format for long integers (from %ul to %lu).
+
+2008-08-28 Nicolas François <nicolas.francois at centraliens.net>
+
* libmisc/utmp.c: Mark the line and host arguments of setutmp() as
not used in the __linux__ version.
Modified: upstream/trunk/src/chage.c
===================================================================
--- upstream/trunk/src/chage.c 2008-08-31 17:27:37 UTC (rev 2312)
+++ upstream/trunk/src/chage.c 2008-08-31 17:27:47 UTC (rev 2313)
@@ -282,7 +282,7 @@
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 @@
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
}
More information about the Pkg-shadow-commits
mailing list