summaryrefslogtreecommitdiff
path: root/sysdep/unix/main.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2012-04-09 14:19:28 +0200
committerOndrej Filip <feela@network.cz>2012-04-09 14:19:28 +0200
commited7c4b0cd530126b9a794f817f5d1d93556a1bce (patch)
tree22094931e736df7be13ca9ae22bf2019fb49049c /sysdep/unix/main.c
parentfb829de69052755a31d76d73e17525d050e5ff4d (diff)
Small bugfix in error message related to reconfiguration.
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r--sysdep/unix/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index 9219da9b..dfe0b89c 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -269,7 +269,7 @@ cmd_reconfig(char *name, int type)
if (!unix_read_config(&conf, name))
{
if (conf->err_msg)
- cli_msg(8002, "%s, line %d: %s", name, conf->err_lino, conf->err_msg);
+ cli_msg(8002, "%s, line %d: %s", conf->err_file_name, conf->err_lino, conf->err_msg);
else
cli_msg(8002, "%s: %m", name);
config_free(conf);