From: Matthew Green <m...@netbsd.org> Just in case it ends up zero and causes a segmentation fault.
Signed-off-by: Thomas Klausner <w...@netbsd.org> --- src/vesa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vesa.c b/src/vesa.c index 564bb06..5b9ccb0 100644 --- a/src/vesa.c +++ b/src/vesa.c @@ -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); } -- 2.4.6 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel