From 6d8604de37855da6e9acf79adbb488788bdc9917 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Mon, 11 Jan 2010 12:53:55 +0100 Subject: commands: make error messages a bit more terse MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit we don't need to know the build path of command.c when reading normal user level error messages. Signed-off-by: Øyvind Harboe --- src/helper/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3