trivial: Add version to the FuFirmware->to_string() output

This commit is contained in:
Richard Hughes 2019-10-21 18:02:41 +01:00
parent fd3c8ae7fd
commit afca71aeb3

View File

@ -463,6 +463,8 @@ fu_firmware_to_string (FuFirmware *self)
/* subclassed type */
fu_common_string_append_kv (str, 0, G_OBJECT_TYPE_NAME (self), NULL);
if (priv->version != NULL)
fu_common_string_append_kv (str, 0, "Version", priv->version);
/* vfunc */
if (klass->to_string != NULL)