projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
error handling: the error number is not part of the user interface
[fw/openocd]
/
src
/
flash
/
nor
/
tcl.c
diff --git
a/src/flash/nor/tcl.c
b/src/flash/nor/tcl.c
index fe1f85d9e0fcb7153a42316f51502fb037901b90..4c64a28d8458f3ce8a41f187b83dbb1f2af9a3ed 100644
(file)
--- a/
src/flash/nor/tcl.c
+++ b/
src/flash/nor/tcl.c
@@
-106,7
+106,7
@@
COMMAND_HANDLER(handle_flash_info_command)
retval = p->driver->info(p, buf, sizeof(buf));
command_print(CMD_CTX, "%s", buf);
if (retval != ERROR_OK)
- LOG_ERROR("error retrieving flash info
(%d)", retval
);
+ LOG_ERROR("error retrieving flash info
"
);
}
return ERROR_OK;