Skip to content

Commit

Permalink
arm/digic_boards: Remove superfluous '\n' around error_report()
Browse files Browse the repository at this point in the history
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
gongleiarei authored and Michael Tokarev committed Mar 10, 2015
1 parent 27215a2 commit d448527
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hw/arm/digic_boards.c
Expand Up @@ -65,7 +65,7 @@ static void digic4_board_init(DigicBoard *board)
s->digic = DIGIC(object_new(TYPE_DIGIC));
object_property_set_bool(OBJECT(s->digic), true, "realized", &err);
if (err != NULL) {
error_report("Couldn't realize DIGIC SoC: %s\n",
error_report("Couldn't realize DIGIC SoC: %s",
error_get_pretty(err));
exit(1);
}
Expand Down Expand Up @@ -104,13 +104,13 @@ static void digic_load_rom(DigicBoardState *s, hwaddr addr,
char *fn = qemu_find_file(QEMU_FILE_TYPE_BIOS, filename);

if (!fn) {
error_report("Couldn't find rom image '%s'.\n", filename);
error_report("Couldn't find rom image '%s'.", filename);
exit(1);
}

rom_size = load_image_targphys(fn, addr, max_size);
if (rom_size < 0 || rom_size > max_size) {
error_report("Couldn't load rom image '%s'.\n", filename);
error_report("Couldn't load rom image '%s'.", filename);
exit(1);
}
}
Expand Down

0 comments on commit d448527

Please sign in to comment.