spapr_pci: use g_strdup_printf()
commit549ce59e2b9ed7f41d2f88524bd5e01b0d7db2e9
authorGreg Kurz <groug@kaod.org>
Sat, 9 Sep 2017 15:06:18 +0000 (9 17:06 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 15 Sep 2017 00:29:48 +0000 (15 10:29 +1000)
tree1f6e653d5c6ac591fb0c988be44bf6de1715a9eb
parentd049bde69d8ab3dfa4edeee48896088ae9feb693
spapr_pci: use g_strdup_printf()

Building strings with g_strdup_printf() instead of snprintf() is
a QEMU common practice.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c