From c69553cbc51770f61cf3b9225d46d058fa2544d0 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 3 Jan 2011 13:30:28 +0100 Subject: error handling: the error number is not part of the user interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not propagate error number to user. This is for internal programming purposes only. Error messages to the user is reported as text via LOG_ERROR(). Signed-off-by: Øyvind Harboe --- src/target/arm11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/arm11.c') diff --git a/src/target/arm11.c b/src/target/arm11.c index 9955143a..2d978e63 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -175,7 +175,7 @@ static int arm11_debug_entry(struct arm11_common *arm11) */ retval = arm_dpm_read_current_registers(&arm11->dpm); if (retval != ERROR_OK) - LOG_ERROR("DPM REG READ -- fail %d", retval); + LOG_ERROR("DPM REG READ -- fail"); retval = arm11_run_instr_data_prepare(arm11); if (retval != ERROR_OK) -- cgit v1.2.3