]> git.sur5r.net Git - openocd/blobdiff - src/helper/command.h
command_handler: change 'cmd_ctx' to CMD_CTX
[openocd] / src / helper / command.h
index 3e3662752a49975a829682f81bea1986f485e8ab..74849646a78eef382970887bd3258dbca5273aeb 100644 (file)
@@ -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; \
                } \