summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2013-08-18 08:24:09 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2013-08-18 08:24:09 +0000
commite53afdbe54f6e637f3ab9723aa3991bd074efb6b (patch)
tree6a02434f2951dec6177d8eed3f34e02e213bd5e6
parent2bb8d400a3161d4d01d298b05064b54bf59df67f (diff)
Fix format for 64 bits time_t
-rw-r--r--app/xdm/xdm/dm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/xdm/xdm/dm.c b/app/xdm/xdm/dm.c
index 7bc26058d..c82e71d7e 100644
--- a/app/xdm/xdm/dm.c
+++ b/app/xdm/xdm/dm.c
@@ -536,7 +536,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" : "");