This is an automated email from Gerrit.

Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/2161

-- gerrit

commit 9545a9b725c6519c67f2708005f2f88c7cd90646
Author: Paul Fertser <fercer...@gmail.com>
Date:   Wed Jun 4 11:59:35 2014 +0400

    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 <fercer...@gmail.com>

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;

-- 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to