From b7f5fc9a21ffef975a5a919830bda4b610e7188d Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 14 Apr 2020 15:38:34 +0100 Subject: [PATCH] trivial: Add device priority to the to_string() output --- libfwupdplugin/fu-device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libfwupdplugin/fu-device.c b/libfwupdplugin/fu-device.c index 5d4663ba4..32e929bf0 100644 --- a/libfwupdplugin/fu-device.c +++ b/libfwupdplugin/fu-device.c @@ -2141,6 +2141,8 @@ fu_device_add_string (FuDevice *self, guint idt, GString *str) } if (priv->order > 0) 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); for (GList *l = keys; l != NULL; l = l->next) { const gchar *key = l->data;