Use va_start and va_end properly