summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/atomlist.c2
-rw-r--r--lib/privs.c2
-rw-r--r--lib/route_types.txt2
-rw-r--r--lib/subdir.am2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/atomlist.c b/lib/atomlist.c
index b7c9516a00..2631d4fa78 100644
--- a/lib/atomlist.c
+++ b/lib/atomlist.c
@@ -267,7 +267,7 @@ static void atomsort_del_core(struct atomsort_head *h,
memory_order_consume);
/* track the beginning of a chain of deleted items
- * this is neccessary to make this lock-free; we can
+ * this is necessary to make this lock-free; we can
* complete deletions started by other threads.
*/
if (!atomptr_l(prevval)) {
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.
diff --git a/lib/route_types.txt b/lib/route_types.txt
index 77639070c9..a82273a6dc 100644
--- a/lib/route_types.txt
+++ b/lib/route_types.txt
@@ -3,7 +3,7 @@
# Used to construct route_types.c and route_types.h
#
# comma-seperated fields of either 2 fields (help strings) or 7 fields.
-# White space before and after the comma seperators is stripped.
+# White space before and after the comma separators is stripped.
# Lines /beginning/ with # are comments.
#
####
diff --git a/lib/subdir.am b/lib/subdir.am
index d1df9cb3d9..c3899c4e0f 100644
--- a/lib/subdir.am
+++ b/lib/subdir.am
@@ -588,7 +588,7 @@ DISTCLEANFILES += lib/route_types.h
if GIT_VERSION
# bit of a trick here to always have up-to-date git stamps without triggering
-# unneccessary rebuilds. .PHONY causes the .tmp file to be rebuilt always,
+# unnecessary rebuilds. .PHONY causes the .tmp file to be rebuilt always,
# but if we use that on gitversion.h it'll ripple through the .c file deps.
# (even if gitversion.h's file timestamp doesn't change, make will think it
# did, because of .PHONY...)