Fix formatting in fu_common_get_block_devices ()

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This commit is contained in:
Sergii Dmytruk 2021-06-05 19:05:24 +03:00 committed by Richard Hughes
parent 4558e5f317
commit 8d5784192f

View File

@ -2772,11 +2772,11 @@ fu_common_get_block_devices (GError **error)
return NULL;
}
g_variant_builder_init (&builder, G_VARIANT_TYPE_VARDICT);
output = g_dbus_proxy_call_sync (proxy,
"GetBlockDevices",
g_variant_new ("(a{sv})", &builder),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, error);
output = g_dbus_proxy_call_sync (proxy,
"GetBlockDevices",
g_variant_new ("(a{sv})", &builder),
G_DBUS_CALL_FLAGS_NONE,
-1, NULL, error);
if (output == NULL) {
if (error != NULL)
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));
}
return g_steal_pointer (&devices);
}