aboutsummaryrefslogtreecommitdiff
path: root/src/hello.c
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/hello.c
parent23402315ce01071f30d7ec0c5ca7563ce41f1cc6 (diff)
downloadriscv-openocd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.zip
riscv-openocd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.gz
riscv-openocd-2861877b32a7a2f4022a1c3d9b66c9b4879878ac.tar.bz2
command_handler: change 'cmd_ctx' to CMD_CTX
Convert all command handler 'cmd_ctx' parameter usage with CMD_CTX.
Diffstat (limited to 'src/hello.c')
-rw-r--r--src/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hello.c b/src/hello.c
index df0cb02..dd33650 100644
--- a/src/hello.c
+++ b/src/hello.c
@@ -44,7 +44,7 @@ COMMAND_HANDLER(handle_hello_command)
const char *sep, *name;
int retval = CALL_COMMAND_HANDLER(handle_hello_args, &sep, &name);
if (ERROR_OK == retval)
- command_print(cmd_ctx, "Greetings%s%s!", sep, name);
+ command_print(CMD_CTX, "Greetings%s%s!", sep, name);
return retval;
}