diff options
author | Thomas Haller <thaller@redhat.com> | 2022-11-02 21:41:22 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-11-03 09:23:52 +0100 |
commit | 545edb7093412e7ea936fc788d63d5ddc9f4e51e (patch) | |
tree | 2b3e28cc513e7535051e803872129d75a250e8e3 | |
parent | 311c97a83ef98f689fa9f8483797f6862471e739 (diff) | |
download | NetworkManager-545edb7093412e7ea936fc788d63d5ddc9f4e51e.tar.gz |
all: fix generating UUIDs for string
https://github.com/coreos/fedora-coreos-tracker/issues/1325
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1130
Fixes: b5e7e48bc185 ('glib-aux: add and use nm_uuid_generate_from_strings_old()')
-rw-r--r-- | src/libnm-glib-aux/nm-uuid.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libnm-glib-aux/nm-uuid.h b/src/libnm-glib-aux/nm-uuid.h index d26616cf4f..b895545205 100644 --- a/src/libnm-glib-aux/nm-uuid.h +++ b/src/libnm-glib-aux/nm-uuid.h @@ -135,10 +135,10 @@ char *nm_uuid_generate_from_strings_strv(NMUuidType uuid_type, NM_NARG(__VA_ARGS__)) /* Legacy function. Don't use for new code. */ -#define nm_uuid_generate_from_strings_old(uuid_type, type_args, ...) \ - nm_uuid_generate_from_strings_strv(NM_UUID_TYPE_VERSION3, \ - &nm_uuid_ns_1, \ - NM_MAKE_STRV(__VA_ARGS__), \ +#define nm_uuid_generate_from_strings_old(...) \ + nm_uuid_generate_from_strings_strv(NM_UUID_TYPE_VERSION3, \ + &nm_uuid_ns_1, \ + NM_MAKE_STRV(__VA_ARGS__), \ -1) /*****************************************************************************/ |