gen-metadata-nm-settings-nmcli: add missing va_end in _prop_log() after using vaargs

It was missing before.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1970

Fixes: af5c1c8019 ('man nm-settings-nmcli: autogenerate the "Format" field')
(cherry picked from commit 7d0115ea98)
(cherry picked from commit 7f8bbd6fcb)
This commit is contained in:
Jan Vaclav 2024-06-06 14:02:54 +02:00 committed by Íñigo Huguet
parent 0a79e98012
commit fff23d22ba

View file

@ -34,6 +34,8 @@ static void G_GNUC_PRINTF(3, 4)
prop_info->property_name,
(int) prop_info->property_type->doc_format,
msg);
va_end(vaargs);
if (fatal)
g_error("%s", msg_full);
else