Skip to content

Commit

Permalink
isisd: Cleanup compile issue
Browse files Browse the repository at this point in the history
cleanup compile with missnamed enum usage.

Signed-off-by: Donald Sharp <[email protected]>
  • Loading branch information
donaldsharp committed Jun 19, 2018
1 parent 741faf9 commit 17f5548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isisd/isis_dlpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
Expand Down

0 comments on commit 17f5548

Please sign in to comment.