Small fix: va_start should be paired with va_end