helper/command: change prototype of command_print/command_print_sameline
[fw/openocd] / src / target / dsp563xx.c
index 28fb8594d487a4578238a6a1979e245592b467d4..d8285e49c8839ec818e94394ccae0df0eb7818b7 100644 (file)
@@ -1930,7 +1930,7 @@ static void handle_md_output(struct command_invocation *cmd,
                                value);
 
                if ((i % line_modulo == line_modulo - 1) || (i == count - 1)) {
-                       command_print(cmd->ctx, "%s", output);
+                       command_print(cmd, "%s", output);
                        output_len = 0;
                }
        }