mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 19:18:00 +02:00
all: fix generating UUIDs for string
https://github.com/coreos/fedora-coreos-tracker/issues/1325
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1130
Fixes: b5e7e48bc1 ('glib-aux: add and use nm_uuid_generate_from_strings_old()')
This commit is contained in:
parent
311c97a83e
commit
545edb7093
1 changed files with 4 additions and 4 deletions
|
|
@ -135,10 +135,10 @@ char *nm_uuid_generate_from_strings_strv(NMUuidType uuid_type,
|
||||||
NM_NARG(__VA_ARGS__))
|
NM_NARG(__VA_ARGS__))
|
||||||
|
|
||||||
/* Legacy function. Don't use for new code. */
|
/* Legacy function. Don't use for new code. */
|
||||||
#define nm_uuid_generate_from_strings_old(uuid_type, type_args, ...) \
|
#define nm_uuid_generate_from_strings_old(...) \
|
||||||
nm_uuid_generate_from_strings_strv(NM_UUID_TYPE_VERSION3, \
|
nm_uuid_generate_from_strings_strv(NM_UUID_TYPE_VERSION3, \
|
||||||
&nm_uuid_ns_1, \
|
&nm_uuid_ns_1, \
|
||||||
NM_MAKE_STRV(__VA_ARGS__), \
|
NM_MAKE_STRV(__VA_ARGS__), \
|
||||||
-1)
|
-1)
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue