summaryrefslogtreecommitdiff
path: root/src/smi_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smi_output.c')
-rw-r--r--src/smi_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_output.c b/src/smi_output.c
index 9098059..377ea4a 100644
--- a/src/smi_output.c
+++ b/src/smi_output.c
@@ -164,7 +164,7 @@ SMI_OutputDestroy(xf86OutputPtr output)
void
SMI_OutputFuncsInit_base(xf86OutputFuncsPtr* outputFuncs)
{
- *outputFuncs = xnfcalloc(sizeof(xf86OutputFuncsRec), 1);
+ *outputFuncs = XNFcallocarray(sizeof(xf86OutputFuncsRec), 1);
(*outputFuncs)->create_resources = SMI_OutputCreateResources;
(*outputFuncs)->mode_valid = SMI_OutputModeValid;