From b35323cb3db13bcc9420572eb80d8fea2f93df4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Kujawa?= Date: Wed, 28 Mar 2018 13:52:07 +0200 Subject: [PATCH] Use logging function instead of printf. --- test/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/utils.c b/test/utils.c index 7eaf446..c6f5e67 100644 --- a/test/utils.c +++ b/test/utils.c @@ -8,6 +8,7 @@ #include "bus.h" #include "rk65c02.h" +#include "log.h" #include "utils.h" @@ -33,7 +34,7 @@ rom_start(rk65c02emu_t *e, const char *name, const atf_tc_t *tc) const char *path; path = rom_path(name, tc); - printf("%s\n", path); + rk65c02_log(LOG_INFO, "Loading ROM: %s", path); e->regs.PC = ROM_LOAD_ADDR; if(!bus_load_file(e->bus, ROM_LOAD_ADDR, path)) return false;