diff options
Diffstat (limited to 'src/atipreinit.c')
-rw-r--r-- | src/atipreinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atipreinit.c b/src/atipreinit.c index 96ec68f..7281f19 100644 --- a/src/atipreinit.c +++ b/src/atipreinit.c @@ -63,7 +63,7 @@ static Bool Mach64GetRec(ScrnInfoPtr pScrn) { if (!pScrn->driverPrivate) { - pScrn->driverPrivate = xnfcalloc(sizeof(ATIRec), 1); + pScrn->driverPrivate = XNFcallocarray(sizeof(ATIRec), 1); memset(pScrn->driverPrivate, 0, sizeof(ATIRec)); } @@ -2302,7 +2302,7 @@ ATIPreInit * Add a mode to the end of the monitor's list for the panel's * native resolution. */ - pMode = (DisplayModePtr)xnfcalloc(1, SizeOf(DisplayModeRec)); + pMode = (DisplayModePtr)XNFcallocarray(1, SizeOf(DisplayModeRec)); pMode->name = "Native panel mode"; pMode->type = M_T_BUILTIN; pMode->Clock = pATI->LCDClock; |