mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
arch: Fix clippy: unused_format_specs
When formatting as hex the minimum format size is 4 not 2. Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -532,7 +532,7 @@ impl CpuidFeatureEntry {
|
|||||||
};
|
};
|
||||||
if !entry_compatible {
|
if !entry_compatible {
|
||||||
error!(
|
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}'.",
|
compatible_check='{:?}', source VM feature='{:#04x}', destination VM feature'{:#04x}'.",
|
||||||
entry.function,
|
entry.function,
|
||||||
entry.index,
|
entry.index,
|
||||||
|
|||||||
Reference in New Issue
Block a user