mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 18:14:44 +00:00
trivial: Show what the device does support if the protocol match fails
This commit is contained in:
parent
c3a8173a12
commit
d7e3f09cbf
@ -260,9 +260,10 @@ fu_install_task_check_requirements (FuInstallTask *self,
|
|||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
FWUPD_ERROR,
|
FWUPD_ERROR,
|
||||||
FWUPD_ERROR_NOT_SUPPORTED,
|
FWUPD_ERROR_NOT_SUPPORTED,
|
||||||
"Device %s doesn't support %s",
|
"Device %s does not support %s, only %s",
|
||||||
fu_device_get_name (self->device),
|
fu_device_get_name (self->device),
|
||||||
protocol);
|
protocol,
|
||||||
|
fu_device_get_protocol (self->device));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user