diff options
Diffstat (limited to 'hw/spapr_vio.c')
-rw-r--r-- | hw/spapr_vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr_vio.c b/hw/spapr_vio.c index 481a804e73..ce6558bb7e 100644 --- a/hw/spapr_vio.c +++ b/hw/spapr_vio.c @@ -160,7 +160,7 @@ static void rtce_init(VIOsPAPRDevice *dev) * sizeof(VIOsPAPR_RTCE); if (size) { - dev->rtce_table = qemu_mallocz(size); + dev->rtce_table = g_malloc0(size); } } |