Commit 2792ba75 authored by Matthew Green's avatar Matthew Green Committed by Adam Jackson

When debugging, print the VGAbase as well.

Just in case it ends up zero and causes a segmentation fault.
Signed-off-by: Thomas Klausner's avatarThomas Klausner <wiz@NetBSD.org>
parent b49c293e
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment