From d7e3f09cbfdb59bf0d8dd845eaa15e507398bc2a Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 20 Oct 2020 18:21:04 +0100 Subject: [PATCH] trivial: Show what the device does support if the protocol match fails --- src/fu-install-task.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fu-install-task.c b/src/fu-install-task.c index 6304cc0ad..77b58b130 100644 --- a/src/fu-install-task.c +++ b/src/fu-install-task.c @@ -260,9 +260,10 @@ fu_install_task_check_requirements (FuInstallTask *self, g_set_error (error, FWUPD_ERROR, FWUPD_ERROR_NOT_SUPPORTED, - "Device %s doesn't support %s", + "Device %s does not support %s, only %s", fu_device_get_name (self->device), - protocol); + protocol, + fu_device_get_protocol (self->device)); return FALSE; }