mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-25 21:57:47 +00:00
trivial: Add version to the FuFirmware->to_string() output
This commit is contained in:
parent
fd3c8ae7fd
commit
afca71aeb3
@ -463,6 +463,8 @@ fu_firmware_to_string (FuFirmware *self)
|
|||||||
|
|
||||||
/* subclassed type */
|
/* subclassed type */
|
||||||
fu_common_string_append_kv (str, 0, G_OBJECT_TYPE_NAME (self), NULL);
|
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 */
|
/* vfunc */
|
||||||
if (klass->to_string != NULL)
|
if (klass->to_string != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user