fixup another calloc build issue

This commit is contained in:
Dave Airlie 2008-10-07 16:09:17 +10:00
parent 60cfaa45a5
commit e7cd5d84ed

View File

@ -538,7 +538,7 @@ configureModuleSection (void)
for (el = elist; *el; el++) {
XF86LoadPtr module;
module = xf86confcalloc(sizeof(XF86LoadRec));
module = xf86confcalloc(1, sizeof(XF86LoadRec));
module->load_name = *el;
/* Add only those font backends which are referenced by fontpath */