]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Small bugfix in error message related to reconfiguration.
authorOndrej Filip <feela@network.cz>
Mon, 9 Apr 2012 12:19:28 +0000 (14:19 +0200)
committerOndrej Filip <feela@network.cz>
Mon, 9 Apr 2012 12:19:28 +0000 (14:19 +0200)
sysdep/unix/main.c

index 9219da9b6d68c679c034063cab1d79e00c292ff3..dfe0b89c1534ec071e73eae9719f91cec169cebd 100644 (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);