summaryrefslogtreecommitdiff
path: root/src/geode_dcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/geode_dcon.c')
-rw-r--r--src/geode_dcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geode_dcon.c b/src/geode_dcon.c
index 5efd79e..20ca194 100644
--- a/src/geode_dcon.c
+++ b/src/geode_dcon.c
@@ -126,7 +126,7 @@ dcon_init(ScrnInfoPtr pScrni)
return FALSE;
}
- pGeode->panelMode = xnfcalloc(1, sizeof(DisplayModeRec));
+ pGeode->panelMode = XNFcallocarray(1, sizeof(DisplayModeRec));
if (pGeode->panelMode == NULL)
return FALSE;