Module Name:    xsrc
Committed By:   apb
Date:           Fri Oct 18 15:59:38 UTC 2013

Modified Files:
        xsrc/external/mit/xdm/dist/xdm: dm.c

Log Message:
Print time_t values by casting to intmax_t and using "%ji" format.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xdm/dist/xdm/dm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xdm/dist/xdm/dm.c
diff -u xsrc/external/mit/xdm/dist/xdm/dm.c:1.2 xsrc/external/mit/xdm/dist/xdm/dm.c:1.3
--- xsrc/external/mit/xdm/dist/xdm/dm.c:1.2	Fri Jun 28 17:25:47 2013
+++ xsrc/external/mit/xdm/dist/xdm/dm.c	Fri Oct 18 15:59:38 2013
@@ -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 %ji %ji try %i of %i%s\n",
+			(intmax_t)now, (intmax_t)d->lastReserv,
 			d->reservTries, d->reservAttempts,
 			crash ? " crash" : "");
 

Reply via email to