On Mon, Aug 13, 2012 at 09:51:16PM +0200, Stefan Weil wrote: > asprintf is not available for all hosts. g_strdup_printf is > more portable and simplifies the code because if does not > need error handling. > > The static variable does not need an explicit assignment to be NULL. > > Cc: Stefan Hajnoczi <stefa...@linux.vnet.ibm.com> > Signed-off-by: Stefan Weil <s...@weilnetz.de> > --- > trace/simple.c | 14 ++++---------- > 1 files changed, 4 insertions(+), 10 deletions(-)
Thanks, applied to the tracing tree: https://github.com/stefanha/qemu/commits/tracing Stefan