mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-29 13:33:49 +00:00
trivial: Show the interface size for an invalid DFU device
This commit is contained in:
parent
4c95f8973a
commit
daa341720f
@ -278,7 +278,9 @@ dfu_device_parse_iface_data (DfuDevice *device, GBytes *iface_data)
|
||||
/* parse the functional descriptor */
|
||||
desc = g_bytes_get_data (iface_data, &iface_data_length);
|
||||
if (iface_data_length != 0x09) {
|
||||
g_warning ("interface found, but not interface data");
|
||||
g_warning ("interface found, but not the correct length for "
|
||||
"functional data: %" G_GSIZE_FORMAT " bytes",
|
||||
iface_data_length);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user