summaryrefslogtreecommitdiff
path: root/src/r128_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/r128_driver.c')
-rw-r--r--src/r128_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index 0821323..fef9c66 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -208,7 +208,7 @@ static Bool R128GetRec(ScrnInfoPtr pScrn)
{
if (pScrn->driverPrivate) return TRUE;
- pScrn->driverPrivate = xnfcalloc(sizeof(R128InfoRec), 1);
+ pScrn->driverPrivate = XNFcallocarray(sizeof(R128InfoRec), 1);
return TRUE;
}