Doh! Use vasprintf, not asprintf, when passing a va_list!