Small bugfix in error message related to reconfiguration.

This commit is contained in:
Ondrej Filip 2012-04-09 14:19:28 +02:00
parent fb829de690
commit ed7c4b0cd5

View file

@ -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);