aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/tcl.c
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2014-06-04 11:59:35 +0400
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-06-22 08:35:41 +0000
commit667bf9c80fae84c075a422d71140d257b7a23f5a (patch)
tree9954692607a6fec66cbc3149c385b4f3db422a3f /src/flash/nor/tcl.c
parentdd4e3a2406f97e19487aaaecbaaa3c542169e7af (diff)
downloadriscv-openocd-667bf9c80fae84c075a422d71140d257b7a23f5a.zip
riscv-openocd-667bf9c80fae84c075a422d71140d257b7a23f5a.tar.gz
riscv-openocd-667bf9c80fae84c075a422d71140d257b7a23f5a.tar.bz2
flash/nor/tcl.c: fix formatting in "rejected" error message
The error message (with the usage field unpopulated) looks like this, obviously missing at least a space before Usage: Error: 'fm3' driver rejected flash bank at 0x00000000Usage (null) Change-Id: I2a625676e784d02942823f972a201f7f4f810c68 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2161 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src/flash/nor/tcl.c')
-rw-r--r--src/flash/nor/tcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c
index 32a666c..26c4328 100644
--- a/src/flash/nor/tcl.c
+++ b/src/flash/nor/tcl.c
@@ -794,7 +794,7 @@ COMMAND_HANDLER(handle_flash_bank_command)
int retval;
retval = CALL_COMMAND_HANDLER(driver->flash_bank_command, c);
if (ERROR_OK != retval) {
- LOG_ERROR("'%s' driver rejected flash bank at 0x%8.8" PRIx32 "Usage %s",
+ LOG_ERROR("'%s' driver rejected flash bank at 0x%8.8" PRIx32 "; usage: %s",
driver_name, c->base, driver->usage);
free(c);
return retval;