summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-01-11 12:53:55 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-01-11 12:58:06 +0100
commit6d8604de37855da6e9acf79adbb488788bdc9917 (patch)
tree2f494ad8026604951363432148e8bf6750aa7b27 /src/helper
parentc74ca40e09baebe8b86b1a77ad343f7b8ebde5d6 (diff)
downloadopenocd+libswd-6d8604de37855da6e9acf79adbb488788bdc9917.tar.gz
openocd+libswd-6d8604de37855da6e9acf79adbb488788bdc9917.tar.bz2
openocd+libswd-6d8604de37855da6e9acf79adbb488788bdc9917.tar.xz
openocd+libswd-6d8604de37855da6e9acf79adbb488788bdc9917.zip
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>
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/command.c2
1 files changed, 1 insertions, 1 deletions
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;