hw/9pfs: use g_vasprintf() instead of rolling our own
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 2 Nov 2011 07:27:15 +0000 (12:57 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 2 Nov 2011 07:27:15 +0000 (12:57 +0530)
commit779b5b04fd00c424ec181f3a7fa3ff61015ad7dc
tree6778870c9ef69b3d0923ff6e9135f0dc1680bc3d
parente072ea2fd8fdceef64159b9596d3c15ce01bea91
hw/9pfs: use g_vasprintf() instead of rolling our own

Markus Armbruster <armbru@redhat.com> sent fixes for va_list vararg
issues in v9fs_string_alloc_printf().  It turns out the function
duplicates g_vasprintf() and can therefore be eliminated entirely.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
hw/9pfs/virtio-9p.c