aboutsummaryrefslogtreecommitdiff
path: root/src/target/etb.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-15 04:57:12 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-17 11:38:06 -0800
commit7bf1a86e473a12882bf6f71cb4d0d416394b69d4 (patch)
tree2c9c1d2138df704ac551cdafe105dbb68b8f23b8 /src/target/etb.c
parent5b9899d6ea1e0cf763465c64c700f20eddd893f9 (diff)
downloadriscv-openocd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.zip
riscv-openocd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.tar.gz
riscv-openocd-7bf1a86e473a12882bf6f71cb4d0d416394b69d4.tar.bz2
command_handler: change to 'argc' to CMD_ARGC
This patch converts all instances of 'argc' in COMMAND_HANDLER routines to use CMD_ARGC.
Diffstat (limited to 'src/target/etb.c')
-rw-r--r--src/target/etb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/etb.c b/src/target/etb.c
index 859ebaf..2ad5156 100644
--- a/src/target/etb.c
+++ b/src/target/etb.c
@@ -354,7 +354,7 @@ COMMAND_HANDLER(handle_etb_config_command)
struct jtag_tap *tap;
struct arm *arm;
- if (argc != 2)
+ if (CMD_ARGC != 2)
{
return ERROR_COMMAND_SYNTAX_ERROR;
}