aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/sam460ex.c
diff options
context:
space:
mode:
authorMao Zhongyi <maozhongyi@cmss.chinamobile.com>2018-09-20 22:05:30 -0400
committerMarkus Armbruster <armbru@redhat.com>2018-09-24 17:13:07 +0200
commit371b74e2215fde31cc22d23dfa710e11bb906038 (patch)
tree87d35b5528eae27f7e212674e764aed67a07fa37 /hw/ppc/sam460ex.c
parentc6c594596eabc80f6e54d96c56f01f8531d389b5 (diff)
downloadqemu-371b74e2215fde31cc22d23dfa710e11bb906038.zip
qemu-371b74e2215fde31cc22d23dfa710e11bb906038.tar.gz
qemu-371b74e2215fde31cc22d23dfa710e11bb906038.tar.bz2
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>
Diffstat (limited to 'hw/ppc/sam460ex.c')
-rw-r--r--hw/ppc/sam460ex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/ppc/sam460ex.c b/hw/ppc/sam460ex.c
index 9c77183..9b6f534 100644
--- a/hw/ppc/sam460ex.c
+++ b/hw/ppc/sam460ex.c
@@ -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);
}