]> git.sur5r.net Git - openocd/blobdiff - src/hello.c
command_handler: change 'cmd_ctx' to CMD_CTX
[openocd] / src / hello.c
index df0cb026ace069f6dfa8e14030182b3803bfc9a5..dd33650dcf004272e6a969b61e31dd866f3584b5 100644 (file)
@@ -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;
 }