From 66cb93c4e234036e50a79af8f29060b15eceecd4 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 7 Mar 2022 12:38:33 +0000 Subject: [PATCH] trivial: Make clear sizes are in hex --- libfwupdplugin/fu-device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfwupdplugin/fu-device.c b/libfwupdplugin/fu-device.c index af5389903..1586c9edb 100644 --- a/libfwupdplugin/fu-device.c +++ b/libfwupdplugin/fu-device.c @@ -3707,8 +3707,8 @@ fu_device_prepare_firmware(FuDevice *self, GBytes *fw, FwupdInstallFlags flags, g_set_error(error, FWUPD_ERROR, FWUPD_ERROR_INVALID_FILE, - "firmware is %04x bytes larger than the allowed " - "maximum size of %04x bytes", + "firmware is 0x%04x bytes larger than the allowed " + "maximum size of 0x%04x bytes", (guint)(fw_sz - priv->size_max), (guint)priv->size_max); return NULL;