diff options
Diffstat (limited to 'src/mga_dac3026.c')
-rw-r--r-- | src/mga_dac3026.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_dac3026.c b/src/mga_dac3026.c index 2b00f2b..9066894 100644 --- a/src/mga_dac3026.c +++ b/src/mga_dac3026.c @@ -513,7 +513,7 @@ MGA3026Init(ScrnInfoPtr pScrn, DisplayModePtr mode) /* Allocate the DacRegs space if not done already */ if (pReg->DacRegs == NULL) { - pReg->DacRegs = xnfcalloc(DACREGSIZE, 1); + pReg->DacRegs = XNFcallocarray(DACREGSIZE, 1); } for (i = 0; i < DACREGSIZE; i++) { pReg->DacRegs[i] = initDAC[i]; @@ -811,7 +811,7 @@ MGA3026Save(ScrnInfoPtr pScrn, vgaRegPtr vgaReg, MGARegPtr mgaReg, /* Allocate the DacRegs space if not done already */ if (mgaReg->DacRegs == NULL) { - mgaReg->DacRegs = xnfcalloc(DACREGSIZE, 1); + mgaReg->DacRegs = XNFcallocarray(DACREGSIZE, 1); } /* |