summaryrefslogtreecommitdiffstats
path: root/lib/privs.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-04-19 14:11:29 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-04-19 14:11:29 +0200
commit485ac9a79b787244b31bf7fac348aa176179574b (patch)
treeb2035fbcf54d529620a7f14c0e69a6bc561ec399 /lib/privs.c
parenttests: Fix spelling of 'registred' (diff)
downloadfrr-485ac9a79b787244b31bf7fac348aa176179574b.tar.xz
frr-485ac9a79b787244b31bf7fac348aa176179574b.zip
*: Fix spelling of neccessary
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
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 b3f51267d..24a15a0c0 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.