summaryrefslogtreecommitdiff
path: root/src/smi_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smi_crtc.c')
-rw-r--r--src/smi_crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smi_crtc.c b/src/smi_crtc.c
index e82f2d8..59c4552 100644
--- a/src/smi_crtc.c
+++ b/src/smi_crtc.c
@@ -241,8 +241,8 @@ SMI_CrtcConfigResize(ScrnInfoPtr pScrn,
void
SMI_CrtcFuncsInit_base(xf86CrtcFuncsPtr* crtcFuncs, SMICrtcPrivatePtr* crtcPriv){
- *crtcFuncs = xnfcalloc(sizeof(xf86CrtcFuncsRec), 1);
- *crtcPriv = xnfcalloc(sizeof(SMICrtcPrivateRec), 1);
+ *crtcFuncs = XNFcallocarray(sizeof(xf86CrtcFuncsRec), 1);
+ *crtcPriv = XNFcallocarray(sizeof(SMICrtcPrivateRec), 1);
(*crtcFuncs)->dpms = SMI_CrtcDPMS;
(*crtcFuncs)->lock = SMI_CrtcLock;