diff options
author | Marc Schink <dev@zapb.de> | 2021-06-28 13:08:48 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-07-02 17:14:11 +0100 |
commit | aad4f1c1f5a296098b4cad6bd3491d1a68844989 (patch) | |
tree | 198caa7736d83d4b90719e6c2a71c86cdd3aee38 | |
parent | 6ad89d61af681e11960082a906357d8e8c3396a1 (diff) | |
download | riscv-openocd-aad4f1c1f5a296098b4cad6bd3491d1a68844989.zip riscv-openocd-aad4f1c1f5a296098b4cad6bd3491d1a68844989.tar.gz riscv-openocd-aad4f1c1f5a296098b4cad6bd3491d1a68844989.tar.bz2 |
target/mips64: Replace printf() with LOG_ERROR()
Change-Id: I73956dc3485a23b761aecd869cc37d657c393bde
Signed-off-by: Marc Schink <dev@zapb.de>
Reviewed-on: http://openocd.zylin.com/6334
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
-rw-r--r-- | src/target/mips64_pracc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/mips64_pracc.c b/src/target/mips64_pracc.c index dbad248..64abf57 100644 --- a/src/target/mips64_pracc.c +++ b/src/target/mips64_pracc.c @@ -283,7 +283,7 @@ int mips64_pracc_exec(struct mips_ejtag *ejtag_info, if (ejtag_ctrl & EJTAG_CTRL_PRNW) { retval = mips64_pracc_exec_write(&ctx, address); if (retval != ERROR_OK) { - printf("ERROR mips64_pracc_exec_write\n"); + LOG_ERROR("mips64_pracc_exec_write() failed"); return retval; } } else { @@ -296,7 +296,7 @@ int mips64_pracc_exec(struct mips_ejtag *ejtag_info, } retval = mips64_pracc_exec_read(&ctx, address); if (retval != ERROR_OK) { - printf("ERROR mips64_pracc_exec_read\n"); + LOG_ERROR("mips64_pracc_exec_read() failed"); return retval; } |