From ead1094629315c37f7d0bb6764c0fcdb809ae404 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 27 May 2026 12:33:35 +0100 Subject: [PATCH] arch: Fix clippy: unused_format_specs When formatting as hex the minimum format size is 4 not 2. Signed-off-by: Rob Bradford --- arch/src/x86_64/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/src/x86_64/mod.rs b/arch/src/x86_64/mod.rs index 09577b436..dcceccd64 100644 --- a/arch/src/x86_64/mod.rs +++ b/arch/src/x86_64/mod.rs @@ -532,7 +532,7 @@ impl CpuidFeatureEntry { }; if !entry_compatible { error!( - "Detected incompatible CPUID entry: leaf={:#02x} (subleaf={:#02x}), register='{:?}', \ + "Detected incompatible CPUID entry: leaf={:#04x} (subleaf={:#04x}), register='{:?}', \ compatible_check='{:?}', source VM feature='{:#04x}', destination VM feature'{:#04x}'.", entry.function, entry.index,