mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-29 09:48:28 +00:00
trivial: Make the capsule_image_size calculation more obvious
This commit is contained in:
parent
e554c1b501
commit
4bdb513937
@ -203,7 +203,7 @@ fu_plugin_uefi_write_splash_data (FuPlugin *plugin, GBytes *blob, GError **error
|
||||
capsule_header.capsule_image_size =
|
||||
g_bytes_get_size (blob) +
|
||||
sizeof(efi_capsule_header_t) +
|
||||
sizeof(header);
|
||||
sizeof(efi_ux_capsule_header_t);
|
||||
|
||||
memset (&header, '\0', sizeof(header));
|
||||
header.version = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user