Module Name: xsrc
Committed By: christos
Date: Fri Sep 23 19:54:40 UTC 2016
Modified Files:
xsrc/external/mit/xf86-video-suncg6/dist/src: cg6_driver.c
Log Message:
PRIxPTR is not what is intended.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 \
xsrc/external/mit/xf86-video-suncg6/dist/src/cg6_driver.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/xf86-video-suncg6/dist/src/cg6_driver.c
diff -u xsrc/external/mit/xf86-video-suncg6/dist/src/cg6_driver.c:1.12 xsrc/external/mit/xf86-video-suncg6/dist/src/cg6_driver.c:1.13
--- xsrc/external/mit/xf86-video-suncg6/dist/src/cg6_driver.c:1.12 Wed Sep 7 13:10:19 2016
+++ xsrc/external/mit/xf86-video-suncg6/dist/src/cg6_driver.c Fri Sep 23 15:54:40 2016
@@ -25,9 +25,6 @@
#include "config.h"
#endif
-/* need this for PRIxPTR macro */
-#include <machine/int_fmtio.h>
-
#include <string.h>
#include "cg6.h"
@@ -489,9 +486,8 @@ CG6ScreenInit(SCREEN_INIT_ARGS_DECL)
if (!pCg6->fbc || !pCg6->thc || !pCg6->fb) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
- "xf86MapSbusMem failed fbc:%" PRIxPTR " fb:%" PRIxPTR
- " thc:%" PRIxPTR "\n",
- pCg6->fbc, pCg6->fb, pCg6->thc );
+ "xf86MapSbusMem failed fbc:%p fb:%p thc:%p\n",
+ pCg6->fbc, pCg6->fb, pCg6->thc);
if (pCg6->fbc) {
xf86UnmapSbusMem(psdp, pCg6->fbc, sizeof(*pCg6->fbc));