X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fhelper%2Finterpreter.c;h=186d992e3cb48f1d38d46e9da3d4a40b00aac5be;hb=994396da593f56bb12b564c06e8d9d4d5cde8557;hp=abf7b0938762a1c32681571570d49fa87dca45fe;hpb=0689e3dd6752f45f493eceb3edf040fbc7849846;p=openocd diff --git a/src/helper/interpreter.c b/src/helper/interpreter.c index abf7b093..186d992e 100644 --- a/src/helper/interpreter.c +++ b/src/helper/interpreter.c @@ -221,7 +221,7 @@ int handle_script_command(struct command_context_s *cmd_ctx, char *cmd, char **a if (argc != 1) return ERROR_COMMAND_SYNTAX_ERROR; - script_file = open_file_from_path(cmd_ctx, args[0], "r"); + script_file = open_file_from_path (args[0], "r"); if (!script_file) {