helper/command: change prototype of command_print/command_print_sameline
[fw/openocd] / src / target / arm926ejs.c
index 01ce1766378658b7276b665d7e4cf9add49378e0..ac30485b8e9b5496f181857ebd4958882d653fb1 100644 (file)
@@ -505,7 +505,7 @@ static int arm926ejs_verify_pointer(struct command_invocation *cmd,
                struct arm926ejs_common *arm926)
 {
        if (arm926->common_magic != ARM926EJS_COMMON_MAGIC) {
-               command_print(cmd->ctx, arm926_not);
+               command_print(cmd, arm926_not);
                return ERROR_TARGET_INVALID;
        }
        return ERROR_OK;