summaryrefslogtreecommitdiff
path: root/src/lx_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lx_driver.c')
-rw-r--r--src/lx_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lx_driver.c b/src/lx_driver.c
index 0f04579..a199310 100644
--- a/src/lx_driver.c
+++ b/src/lx_driver.c
@@ -324,7 +324,7 @@ LXPreInit(ScrnInfoPtr pScrni, int flags)
return TRUE;
}
- pGeode = pScrni->driverPrivate = xnfcalloc(1, sizeof(GeodeRec));
+ pGeode = pScrni->driverPrivate = XNFcallocarray(1, sizeof(GeodeRec));
if (pGeode == NULL)
return FALSE;