Skip to content

Commit

Permalink
Merge pull request #5 from donaldsharp/error-reference-cards
Browse files Browse the repository at this point in the history
isisd: Cleanup compile issue
  • Loading branch information
qlyoung authored Jun 19, 2018
2 parents 741faf9 + 17f5548 commit 48157ee
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 48157ee

Please sign in to comment.