summaryrefslogtreecommitdiff
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 9cc5ec4e..f8e483f6 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2246,7 +2246,7 @@ vty_use_backup_config (char *fullpath)
free (fullpath_sav);
free (fullpath_tmp);
- return fopen (fullpath, "r");
+ return ret;
}
/* Read up configuration file from file_name. */