mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-16 10:06:41 +00:00
trivial: Add device priority to the to_string() output
This commit is contained in:
parent
b92f056bcc
commit
b7f5fc9a21
@ -2141,6 +2141,8 @@ fu_device_add_string (FuDevice *self, guint idt, GString *str)
|
|||||||
}
|
}
|
||||||
if (priv->order > 0)
|
if (priv->order > 0)
|
||||||
fu_common_string_append_ku (str, idt + 1, "Order", priv->order);
|
fu_common_string_append_ku (str, idt + 1, "Order", priv->order);
|
||||||
|
if (priv->priority > 0)
|
||||||
|
fu_common_string_append_ku (str, idt + 1, "Priority", priv->priority);
|
||||||
keys = g_hash_table_get_keys (priv->metadata);
|
keys = g_hash_table_get_keys (priv->metadata);
|
||||||
for (GList *l = keys; l != NULL; l = l->next) {
|
for (GList *l = keys; l != NULL; l = l->next) {
|
||||||
const gchar *key = l->data;
|
const gchar *key = l->data;
|
||||||
|
Loading…
Reference in New Issue
Block a user