Skip to content

Commit

Permalink
hw/i386: Add \n to hint message
Browse files Browse the repository at this point in the history
error_printf() doesn't add newlines.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
gkurz authored and Michael Tokarev committed Jan 30, 2024
1 parent 93e0886 commit dfa1aa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hw/i386/acpi-build.c
Original file line number Diff line number Diff line change
Expand Up @@ -2697,7 +2697,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
" migration may not work",
tables_blob->len, legacy_table_size);
error_printf("Try removing CPUs, NUMA nodes, memory slots"
" or PCI bridges.");
" or PCI bridges.\n");
}
g_array_set_size(tables_blob, legacy_table_size);
} else {
Expand All @@ -2709,7 +2709,7 @@ void acpi_build(AcpiBuildTables *tables, MachineState *machine)
" migration may not work",
tables_blob->len, ACPI_BUILD_TABLE_SIZE / 2);
error_printf("Try removing CPUs, NUMA nodes, memory slots"
" or PCI bridges.");
" or PCI bridges.\n");
}
acpi_align_size(tables_blob, ACPI_BUILD_TABLE_SIZE);
}
Expand Down

0 comments on commit dfa1aa8

Please sign in to comment.