diff options
| author | Dave Airlie <airlied@redhat.com> | 2008-10-07 16:09:17 +1000 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2008-10-07 16:09:17 +1000 |
| commit | e7cd5d84ed1fb3637dce6e9e6ef58c8611818c4e (patch) | |
| tree | 4f9dba4b20d2eb1aa4de18ac7421a1afb0d8a718 | |
| parent | 60cfaa45a532bd3cfcfb4bd57b2f657c0a8b6a6b (diff) | |
fixup another calloc build issue
| -rw-r--r-- | hw/xfree86/common/xf86Configure.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c index d61f59ea8..85cd5b62e 100644 --- a/hw/xfree86/common/xf86Configure.c +++ b/hw/xfree86/common/xf86Configure.c @@ -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 */ |
