commands: make error messages a bit more terse
we don't need to know the build path of command.c when reading normal user level error messages. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
c74ca40e09
commit
6d8604de37
|
@ -349,7 +349,7 @@ static int register_command_handler(struct command_context *cmd_ctx,
|
||||||
if (NULL == override_name)
|
if (NULL == override_name)
|
||||||
return JIM_ERR;
|
return JIM_ERR;
|
||||||
|
|
||||||
retval = Jim_Eval_Named(interp, override_name, __FILE__, __LINE__);
|
retval = Jim_Eval_Named(interp, override_name, __THIS__FILE__ , __LINE__);
|
||||||
free((void *)override_name);
|
free((void *)override_name);
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
|
|
Loading…
Reference in New Issue