summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lg_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lg_driver.c b/src/lg_driver.c
index 6577fa5..d4301e1 100644
--- a/src/lg_driver.c
+++ b/src/lg_driver.c
@@ -801,7 +801,7 @@ LgPreInit(ScrnInfoPtr pScrn, int flags)
/* Load XAA if needed */
if (!pCir->NoAccel) {
if (!xf86LoadSubModule(pScrn, "xaa")) {
- xf86DrvMsg(pScrn->scrnInfo, X_INFO,
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"Falling back to shadowfb\n");
pCir->NoAccel = TRUE;
pCir->shadowFB = TRUE;