[PATCH xdm] Fix format string for systems where time_t is 64 bits long.
Matthieu Herrb
matthieu.herrb at laas.fr
Sun Aug 18 02:10:06 PDT 2013
Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>
---
xdm/dm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git xdm/dm.c xdm/dm.c
index cb81386..815950c 100644
--- xdm/dm.c
+++ xdm/dm.c
@@ -533,7 +533,8 @@ WaitForChild (void)
time(&now);
crash = d->lastReserv &&
((now - d->lastReserv) < XDM_BROKEN_INTERVAL);
- Debug("time %li %li try %i of %i%s\n", now, d->lastReserv,
+ Debug("time %lli %lli try %i of %i%s\n",
+ (long long)now, (long long)d->lastReserv,
d->reservTries, d->reservAttempts,
crash ? " crash" : "");
--
1.8.3.1
More information about the xorg-devel
mailing list