summaryrefslogtreecommitdiff
path: root/lib/privs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/privs.c')
-rw-r--r--lib/privs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/privs.c b/lib/privs.c
index b3f51267d1..24a15a0c0b 100644
--- a/lib/privs.c
+++ b/lib/privs.c
@@ -684,7 +684,7 @@ void zprivs_init(struct zebra_privs_t *zprivs)
#else /* !HAVE_CAPABILITIES */
/* we dont have caps. we'll need to maintain rid and saved uid
- * and change euid back to saved uid (who we presume has all neccessary
+ * and change euid back to saved uid (who we presume has all necessary
* privileges) whenever we are asked to raise our privileges.
*
* This is not worth that much security wise, but all we can do.