diff options
Diffstat (limited to 'src/flash/nor/tcl.c')
-rw-r--r-- | src/flash/nor/tcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c index 92b85be7..4ba5f47c 100644 --- a/src/flash/nor/tcl.c +++ b/src/flash/nor/tcl.c @@ -848,7 +848,7 @@ COMMAND_HANDLER(handle_flash_bank_command) COMMAND_HANDLER(handle_flash_banks_command) { if (CMD_ARGC != 0) - return ERROR_INVALID_ARGUMENTS; + return ERROR_COMMAND_SYNTAX_ERROR; unsigned n = 0; for (struct flash_bank *p = flash_bank_list(); p; p = p->next, n++) |