diff options
author | Matthew Green <mrg@NetBSD.org> | 2015-07-20 10:55:09 +0200 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-07-27 12:38:22 -0400 |
commit | 2792ba7535dc9cc1c5bb2b37c1f862be36710a32 (patch) | |
tree | eadacfef9c9245e64242159abd3819f95e90c247 | |
parent | b49c293e67cd88424ff40a2ca4e58b28528691d7 (diff) | |
download | xorg-driver-xf86-video-vesa-2792ba7535dc9cc1c5bb2b37c1f862be36710a32.tar.gz |
When debugging, print the VGAbase as well.
Just in case it ends up zero and causes a segmentation fault.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
-rw-r--r-- | src/vesa.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1304,9 +1304,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); } |