summaryrefslogtreecommitdiff
path: root/src/r128_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/r128_crtc.c')
-rw-r--r--src/r128_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/r128_crtc.c b/src/r128_crtc.c
index f03a857..bc06e30 100644
--- a/src/r128_crtc.c
+++ b/src/r128_crtc.c
@@ -1094,7 +1094,7 @@ Bool R128AllocateControllers(ScrnInfoPtr pScrn)
if (!pR128Ent->pCrtc[0])
return FALSE;
- pR128Ent->Controller[0] = xnfcalloc(sizeof(R128CrtcPrivateRec), 1);
+ pR128Ent->Controller[0] = XNFcallocarray(sizeof(R128CrtcPrivateRec), 1);
if (!pR128Ent->Controller[0])
return FALSE;
@@ -1108,7 +1108,7 @@ Bool R128AllocateControllers(ScrnInfoPtr pScrn)
if (!pR128Ent->pCrtc[1])
return FALSE;
- pR128Ent->Controller[1] = xnfcalloc(sizeof(R128CrtcPrivateRec), 1);
+ pR128Ent->Controller[1] = XNFcallocarray(sizeof(R128CrtcPrivateRec), 1);
if (!pR128Ent->Controller[1]) {
free(pR128Ent->Controller[0]);
return FALSE;