Use vsprintf instead of vsnprintf