summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-06 16:36:50 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 20:02:05 +0000
commit09c866e34dd6f1725ff5a2354017c13485c2c755 (patch)
tree5dd5e6484250d6388453ace46240d210af30df36 /lib/command.c
parent85cd2f9f9a43d0c536f445cc65b94a8d90bb4c97 (diff)
*: rename ferr_zlog -> flog_err_sys
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index 5e15892805..1df6442107 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2417,8 +2417,8 @@ static int set_log_file(struct vty *vty, const char *fname, int loglevel)
cwd[MAXPATHLEN] = '\0';
if (getcwd(cwd, MAXPATHLEN) == NULL) {
- flog_err(LIB_ERR_SYSTEM_CALL,
- "config_log_file: Unable to alloc mem!");
+ flog_err_sys(LIB_ERR_SYSTEM_CALL,
+ "config_log_file: Unable to alloc mem!");
return CMD_WARNING_CONFIG_FAILED;
}