summaryrefslogtreecommitdiffstats
path: root/lib/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 76f62e01..88d7139b 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -1157,7 +1157,7 @@ vty_read_config_first_cmd_special(char *config_file,
if (confp == NULL)
{
fprintf (stderr, "%s: failed to open configuration file %s: %s\n",
- __func__, fullpath, safe_strerror (errno));
+ __func__, fullpath, errtostr(errno, 0).str);
confp = vty_use_backup_config (fullpath);
if (confp)