Module Name: xsrc
Committed By: apb
Date: Fri Oct 18 17:33:18 UTC 2013
Modified Files:
xsrc/external/mit/xdm/dist/xdm: xdmauth.c
Log Message:
Fix error in previous. strlen's result is unsigned, so the
correct format is "%zu".
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 xsrc/external/mit/xdm/dist/xdm/xdmauth.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/xdmauth.c
diff -u xsrc/external/mit/xdm/dist/xdm/xdmauth.c:1.3 xsrc/external/mit/xdm/dist/xdm/xdmauth.c:1.4
--- xsrc/external/mit/xdm/dist/xdm/xdmauth.c:1.3 Fri Oct 18 16:31:40 2013
+++ xsrc/external/mit/xdm/dist/xdm/xdmauth.c Fri Oct 18 17:33:18 2013
@@ -234,7 +234,7 @@ XdmGetKey(struct protoDisplay *pdpy, ARR
if (line[0] == '#' || sscanf (line, "%s %s", id, key) != 2)
continue;
bzero(line, sizeof(line));
- Debug ("Key entry for \"%s\" %zd bytes\n", id, strlen(key));
+ Debug ("Key entry for \"%s\" %zu bytes\n", id, strlen(key));
if (strlen (id) == displayID->length &&
!strncmp (id, (char *)displayID->data, displayID->length))
{