Fixed an error in passing variable arguments lists to vfprintf.