diff options
author | Mao Zhongyi | 2018-09-21 04:05:30 +0200 |
---|---|---|
committer | Markus Armbruster | 2018-09-24 17:13:07 +0200 |
commit | 371b74e2215fde31cc22d23dfa710e11bb906038 (patch) | |
tree | 87d35b5528eae27f7e212674e764aed67a07fa37 /hw/riscv/sifive_e.c | |
parent | qemu-error: make use of {error, warn}_report_once_cond (diff) | |
download | qemu-371b74e2215fde31cc22d23dfa710e11bb906038.tar.gz qemu-371b74e2215fde31cc22d23dfa710e11bb906038.tar.xz qemu-371b74e2215fde31cc22d23dfa710e11bb906038.zip |
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/riscv/sifive_e.c')
-rw-r--r-- | hw/riscv/sifive_e.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/riscv/sifive_e.c b/hw/riscv/sifive_e.c index 4577d72037..cb513cc3bb 100644 --- a/hw/riscv/sifive_e.c +++ b/hw/riscv/sifive_e.c @@ -81,7 +81,7 @@ static uint64_t load_kernel(const char *kernel_filename) if (load_elf(kernel_filename, NULL, NULL, &kernel_entry, NULL, &kernel_high, 0, EM_RISCV, 1, 0) < 0) { - error_report("qemu: could not load kernel '%s'", kernel_filename); + error_report("could not load kernel '%s'", kernel_filename); exit(1); } return kernel_entry; |