Drop "qemu:" prefix from error_report() arguments

error_report and friends already add a "qemu-system-xxx" prefix
to the string, so a "qemu:" prefix is redundant in the string.
Just drop it.

Reported-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Mao Zhongyi <maozhongyi@cmss.chinamobile.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <1537495530-580-1-git-send-email-maozhongyi@cmss.chinamobile.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Mao Zhongyi 2018-09-20 22:05:30 -04:00 committed by Markus Armbruster
parent c6c594596e
commit 371b74e221
7 changed files with 15 additions and 15 deletions

View file

@ -234,7 +234,7 @@ static int sam460ex_load_uboot(void)
if (!pflash_cfi01_register(base, NULL, "sam460ex.flash", bios_size,
blk, 64 * KiB, fl_sectors,
1, 0x89, 0x18, 0x0000, 0x0, 1)) {
error_report("qemu: Error registering flash memory.");
error_report("Error registering flash memory");
/* XXX: return an error instead? */
exit(1);
}
@ -552,7 +552,7 @@ static void sam460ex_init(MachineState *machine)
if (!machine->kernel_filename) {
success = sam460ex_load_uboot();
if (success < 0) {
error_report("qemu: could not load firmware");
error_report("could not load firmware");
exit(1);
}
}
@ -571,7 +571,7 @@ static void sam460ex_init(MachineState *machine)
}
/* XXX try again as binary */
if (success < 0) {
error_report("qemu: could not load kernel '%s'",
error_report("could not load kernel '%s'",
machine->kernel_filename);
exit(1);
}
@ -583,7 +583,7 @@ static void sam460ex_init(MachineState *machine)
RAMDISK_ADDR,
machine->ram_size - RAMDISK_ADDR);
if (initrd_size < 0) {
error_report("qemu: could not load ram disk '%s' at %x",
error_report("could not load ram disk '%s' at %x",
machine->initrd_filename, RAMDISK_ADDR);
exit(1);
}