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:
Øyvind Harboe 2010-01-11 12:53:55 +01:00
parent c74ca40e09
commit 6d8604de37

View File

@ -349,7 +349,7 @@ static int register_command_handler(struct command_context *cmd_ctx,
if (NULL == override_name)
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);
return retval;