diff options
Diffstat (limited to 'src/mga_dacG.c')
-rw-r--r-- | src/mga_dacG.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_dacG.c b/src/mga_dacG.c index 07bd4bd..61a4786 100644 --- a/src/mga_dacG.c +++ b/src/mga_dacG.c @@ -1160,7 +1160,7 @@ MGAGInit(ScrnInfoPtr pScrn, DisplayModePtr mode) MGA_NOT_HAL( /* 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]; @@ -1827,7 +1827,7 @@ MGAGSave(ScrnInfoPtr pScrn, vgaRegPtr vgaReg, MGARegPtr mgaReg, MGA_NOT_HAL( /* Allocate the DacRegs space if not done already */ if (mgaReg->DacRegs == NULL) { - mgaReg->DacRegs = xnfcalloc(DACREGSIZE, 1); + mgaReg->DacRegs = XNFcallocarray(DACREGSIZE, 1); } ); /* MGA_NOT_HAL */ |