mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-16 01:06:09 +00:00
Fix formatting in fu_common_get_block_devices ()
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This commit is contained in:
parent
4558e5f317
commit
8d5784192f
@ -2772,11 +2772,11 @@ fu_common_get_block_devices (GError **error)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT);
|
g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT);
|
||||||
output = g_dbus_proxy_call_sync (proxy,
|
output = g_dbus_proxy_call_sync (proxy,
|
||||||
"GetBlockDevices",
|
"GetBlockDevices",
|
||||||
g_variant_new ("(a{sv})", &builder),
|
g_variant_new ("(a{sv})", &builder),
|
||||||
G_DBUS_CALL_FLAGS_NONE,
|
G_DBUS_CALL_FLAGS_NONE,
|
||||||
-1, NULL, error);
|
-1, NULL, error);
|
||||||
if (output == NULL) {
|
if (output == NULL) {
|
||||||
if (error != NULL)
|
if (error != NULL)
|
||||||
g_dbus_error_strip_remote_error (*error);
|
g_dbus_error_strip_remote_error (*error);
|
||||||
@ -2802,7 +2802,6 @@ fu_common_get_block_devices (GError **error)
|
|||||||
g_ptr_array_add (devices, g_steal_pointer (&proxy_blk));
|
g_ptr_array_add (devices, g_steal_pointer (&proxy_blk));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return g_steal_pointer (&devices);
|
return g_steal_pointer (&devices);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user