mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
mountmgr: Support udisks2 versions that store the uuid as an array.
This commit is contained in:
parent
d28174b765
commit
ed8d665f8c
@ -446,7 +446,10 @@ static void udisks2_add_device( const char *udi, DBusMessageIter *dict, DBusMess
|
||||
}
|
||||
else if (!strcmp( name, "IdUUID" ))
|
||||
{
|
||||
char *uuid_str;
|
||||
const char *uuid_str;
|
||||
if (p_dbus_message_iter_get_arg_type( &variant ) == DBUS_TYPE_ARRAY)
|
||||
uuid_str = udisks2_string_from_array( &variant );
|
||||
else
|
||||
p_dbus_message_iter_get_basic( &variant, &uuid_str );
|
||||
guid_ptr = parse_uuid( &guid, uuid_str );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user