Added missing va_end()