summaryrefslogtreecommitdiffstats
path: root/isisd/isis_dlpi.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-19 16:52:08 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commitb72002107f4fdaf1b5044234426ecea88b1eaaaa (patch)
treec4bbec68ff1e6b15c4b4bc67638ef681273c3808 /isisd/isis_dlpi.c
parentisisd: Add isis_errors and generate custom Error Codes (diff)
downloadfrr-b72002107f4fdaf1b5044234426ecea88b1eaaaa.tar.xz
frr-b72002107f4fdaf1b5044234426ecea88b1eaaaa.zip
isisd: Cleanup compile issue
cleanup compile with missnamed enum usage. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_dlpi.c')
-rw-r--r--isisd/isis_dlpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_dlpi.c b/isisd/isis_dlpi.c
index 455a2ca3a..1dc4d7ad2 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;