mirror of
https://git.proxmox.com/git/fwupd
synced 2025-11-03 16:51:34 +00:00
trivial: Add device order to the to_string() output
This commit is contained in:
parent
a51f0e11ea
commit
b92f056bcc
@ -2139,6 +2139,8 @@ fu_device_add_string (FuDevice *self, guint idt, GString *str)
|
||||
g_autofree gchar *sz = g_strdup_printf ("%" G_GUINT64_FORMAT, priv->size_max);
|
||||
fu_common_string_append_kv (str, idt + 1, "FirmwareSizeMax", sz);
|
||||
}
|
||||
if (priv->order > 0)
|
||||
fu_common_string_append_ku (str, idt + 1, "Order", priv->order);
|
||||
keys = g_hash_table_get_keys (priv->metadata);
|
||||
for (GList *l = keys; l != NULL; l = l->next) {
|
||||
const gchar *key = l->data;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user