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')
This commit is contained in:
Jan Vaclav
2024-06-06 14:02:54 +02:00
committed by Íñigo Huguet
parent 51531a055f
commit 7d0115ea98

View File

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