summaryrefslogtreecommitdiff
path: root/hw/xfree86/int10/vbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/int10/vbe.c')
-rw-r--r--hw/xfree86/int10/vbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/int10/vbe.c b/hw/xfree86/int10/vbe.c
index 48878cd40..a4f3af58c 100644
--- a/hw/xfree86/int10/vbe.c
+++ b/hw/xfree86/int10/vbe.c
@@ -886,7 +886,7 @@ VBEBuildVbeModeList(vbeInfoPtr pVbe, VbeInfoBlock * vbe)
bpp = mode->BitsPerPixel;
- m = xnfcalloc(1, sizeof(vbeModeInfoRec));
+ m = XNFcallocarray(1, sizeof(vbeModeInfoRec));
m->width = mode->XResolution;
m->height = mode->YResolution;
m->bpp = bpp;