trivial: Add device priority to the to_string() output

This commit is contained in:
Richard Hughes 2020-04-14 15:38:34 +01:00
parent b92f056bcc
commit b7f5fc9a21

View File

@ -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;