Module Name:    xsrc
Committed By:   mrg
Date:           Mon Jun  3 19:07:55 UTC 2013

Modified Files:
        xsrc/external/mit/xf86-video-vesa/dist/src: vesa.c

Log Message:
print the VGAbase as well, in case it ends up zero and causes segv.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 xsrc/external/mit/xf86-video-vesa/dist/src/vesa.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-vesa/dist/src/vesa.c
diff -u xsrc/external/mit/xf86-video-vesa/dist/src/vesa.c:1.6 xsrc/external/mit/xf86-video-vesa/dist/src/vesa.c:1.7
--- xsrc/external/mit/xf86-video-vesa/dist/src/vesa.c:1.6	Sat Jun  1 08:55:04 2013
+++ xsrc/external/mit/xf86-video-vesa/dist/src/vesa.c	Mon Jun  3 19:07:55 2013
@@ -1311,9 +1311,10 @@ VESAMapVidMem(ScrnInfoPtr pScrn)
 #endif
 
     xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, DEBUG_VERB,
-		   "virtual address = %p,\n"
+		   "virtual address = %p, VGAbase = %p\n"
 		   "\tphysical address = 0x%lx, size = %ld\n",
-		   pVesa->base, pScrn->memPhysBase, pVesa->mapSize);
+		   pVesa->base, pVesa->VGAbase,
+		   pScrn->memPhysBase, pVesa->mapSize);
 
     return (pVesa->base != NULL);
 }

Reply via email to