summaryrefslogtreecommitdiff
path: root/src/xgi_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xgi_accel.c')
-rw-r--r--src/xgi_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xgi_accel.c b/src/xgi_accel.c
index d3cece5..997d273 100644
--- a/src/xgi_accel.c
+++ b/src/xgi_accel.c
@@ -713,7 +713,7 @@ Volari_AccelInit(ScreenPtr pScreen)
#ifdef XGIISXORGPOST70 /* for Xorg 7.0 and above */
if(!(pXGI->EXADriverPtr = exaDriverAlloc()))
#else
- if(!(pXGI->EXADriverPtr = xnfcalloc(sizeof(ExaDriverRec), 1)))
+ if(!(pXGI->EXADriverPtr = XNFcallocarray(sizeof(ExaDriverRec), 1)))
#endif
{
ErrorF("Failed to allocate EXADriverPtr!\n");