From 17f55489c7d29ea7d61a26ff53ef94fd46635d1b Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 19 Jun 2018 10:52:08 -0400 Subject: [PATCH] isisd: Cleanup compile issue cleanup compile with missnamed enum usage. Signed-off-by: Donald Sharp --- isisd/isis_dlpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isisd/isis_dlpi.c b/isisd/isis_dlpi.c index 455a2ca3aaa5..1dc4d7ad2523 100644 --- a/isisd/isis_dlpi.c +++ b/isisd/isis_dlpi.c @@ -469,7 +469,7 @@ int isis_sock_init(struct isis_circuit *circuit) int retval = ISIS_OK; if (isisd_privs.change(ZPRIVS_RAISE)) - zlog_ferr(LIB_ERR_PRIVILEGE, "%s: could not raise privs, %s", + zlog_ferr(LIB_ERR_PRIVILEGES, "%s: could not raise privs, %s", __func__, safe_strerror(errno)); retval = open_dlpi_dev(circuit); @@ -490,7 +490,7 @@ int isis_sock_init(struct isis_circuit *circuit) end: if (isisd_privs.change(ZPRIVS_LOWER)) - zlog_ferr(LIB_ERR_PRIVILEGE, "%s: could not lower privs, %s", + zlog_ferr(LIB_ERR_PRIVILEGES, "%s: could not lower privs, %s", __func__, safe_strerror(errno)); return retval;