summaryrefslogtreecommitdiff
path: root/src/helper/command.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-15 05:57:37 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-17 11:40:06 -0800
commit2861877b32a7a2f4022a1c3d9b66c9b4879878ac (patch)
treed0f25f82899181b13241b2147d6ad7c72765542c /src/helper/command.h
parent23402315ce01071f30d7ec0c5ca7563ce41f1cc6 (diff)
downloadopenocd+libswd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.gz
openocd+libswd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.bz2
openocd+libswd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.xz
openocd+libswd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.zip
command_handler: change 'cmd_ctx' to CMD_CTX
Convert all command handler 'cmd_ctx' parameter usage with CMD_CTX.
Diffstat (limited to 'src/helper/command.h')
-rw-r--r--src/helper/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.h b/src/helper/command.h
index 3e366275..74849646 100644
--- a/src/helper/command.h
+++ b/src/helper/command.h
@@ -244,7 +244,7 @@ DECLARE_PARSE_WRAPPER(_s8, int8_t);
do { \
int retval = parse_##type(in, &(out)); \
if (ERROR_OK != retval) { \
- command_print(cmd_ctx, stringify(out) \
+ command_print(CMD_CTX, stringify(out) \
" option value ('%s') is not valid", in); \
return retval; \
} \