From ed7c4b0cd530126b9a794f817f5d1d93556a1bce Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Mon, 9 Apr 2012 14:19:28 +0200 Subject: [PATCH] Small bugfix in error message related to reconfiguration. --- sysdep/unix/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);