vmm: acpi: Use correct table name in error message

Fix a copy-paste error using the wrong table name in the assertion

Signed-off-by: ninollei <ninollx@hotmail.com>
This commit is contained in:
ninollei
2025-06-04 13:43:37 +08:00
committed by RuoqingHe
parent ea32b67098
commit 3d5b4d0b0c

View File

@@ -780,7 +780,7 @@ pub fn create_acpi_tables(
let slit_offset = srat_offset.checked_add(srat.len() as u64).unwrap();
guest_mem
.write_slice(slit.as_slice(), slit_offset)
.expect("Error writing SRAT table");
.expect("Error writing SLIT table");
tables.push(slit_offset.0);
prev_tbl_len = slit.len() as u64;