From: Øyvind Harboe Date: Mon, 11 Jan 2010 11:53:55 +0000 (+0100) Subject: commands: make error messages a bit more terse X-Git-Tag: v0.4.0-rc2~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6d8604de37855da6e9acf79adbb488788bdc9917;p=openocd 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 --- diff --git a/src/helper/command.c b/src/helper/command.c index 568596d1..cf66f8a4 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -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;