summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-04-19 08:11:29 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-04-19 08:11:29 -0400
commit485ac9a79b787244b31bf7fac348aa176179574b (patch)
treeb2035fbcf54d529620a7f14c0e69a6bc561ec399
parentb515c81a2257aeea14fff6e9fc86d880bc62cc9d (diff)
*: Fix spelling of neccessary
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--configure.ac2
-rw-r--r--debian/changelog2
-rw-r--r--doc/developer/lists.rst4
-rw-r--r--doc/user/basic.rst2
-rw-r--r--lib/atomlist.c2
-rw-r--r--lib/privs.c2
-rw-r--r--lib/subdir.am2
-rw-r--r--ospfd/ospf_spf.c2
-rw-r--r--redhat/frr.spec.in2
9 files changed, 10 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index c636fade70..a7698f484c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,7 @@ elif test "$host" != "$build"; then
AC_MSG_NOTICE([...])
AC_MSG_NOTICE([... cross-compilation: creating hosttools directory and self-configuring for build platform tools])
- AC_MSG_NOTICE([... use HOST_CPPFLAGS / HOST_CFLAGS / HOST_LDFLAGS if neccessary])
+ AC_MSG_NOTICE([... use HOST_CPPFLAGS / HOST_CFLAGS / HOST_LDFLAGS if necessary])
AC_MSG_NOTICE([...])
(
diff --git a/debian/changelog b/debian/changelog
index 2b28c4c6dc..f099d4ef62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -989,7 +989,7 @@ quagga (0.98.3-6) testing-proposed-updates; urgency=high
quagga (0.98.3-5) unstable; urgency=high
* The patch which tried to remove the OpenSSL dependency, which is
- not only unneccessary but also a violation of the licence and thus RC,
+ not only unnecessary but also a violation of the licence and thus RC,
stopped working a while ago, since autoreconf is no longer run before
building the binaries. So now ./configure is patched directly (thanks
to Faidon Liambotis for reporting). Closes: #306840
diff --git a/doc/developer/lists.rst b/doc/developer/lists.rst
index 4eaa85115e..43b2ebfcc9 100644
--- a/doc/developer/lists.rst
+++ b/doc/developer/lists.rst
@@ -62,7 +62,7 @@ in the future:
The APIs are all designed to be as type-safe as possible. This means that
there will be a compiler warning when an item doesn't match the container, or
the return value has a different type, or other similar situations. **You
-should never use casts with these APIs.** If a cast is neccessary in relation
+should never use casts with these APIs.** If a cast is necessary in relation
to these APIs, there is probably something wrong with the overall design.
Only the following pieces use dynamically allocated memory:
@@ -650,7 +650,7 @@ Atomic lists
`atomlist.h` provides an unsorted and a sorted atomic single-linked list.
Since atomic memory accesses can be considerably slower than plain memory
accessses (depending on the CPU type), these lists should only be used where
-neccessary.
+necessary.
The following guarantees are provided regarding concurrent access:
diff --git a/doc/user/basic.rst b/doc/user/basic.rst
index ea4b3f41f3..42faefd10b 100644
--- a/doc/user/basic.rst
+++ b/doc/user/basic.rst
@@ -471,7 +471,7 @@ recommendations apply in regards to upgrades:
for differences against your old configuration. If any defaults changed
that affect your setup, lines may appear or disappear. If a new line
appears, it was previously the default (or not supported) and is now
- neccessary to retain previous behavior. If a line disappears, it
+ necessary to retain previous behavior. If a line disappears, it
previously wasn't the default, but now is, so it is no longer necessary.
3. Check the log files for deprecation warnings by using ``grep -i deprecat``.
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/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...)
diff --git a/ospfd/ospf_spf.c b/ospfd/ospf_spf.c
index f763400212..baf02365a2 100644
--- a/ospfd/ospf_spf.c
+++ b/ospfd/ospf_spf.c
@@ -678,7 +678,7 @@ static void ospf_spf_flush_parents(struct vertex *w)
/*
* Consider supplied next-hop for inclusion to the supplied list of
- * equal-cost next-hops, adjust list as neccessary.
+ * equal-cost next-hops, adjust list as necessary.
*/
static void ospf_spf_add_parent(struct vertex *v, struct vertex *w,
struct vertex_nexthop *newhop,
diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in
index 740cfe498a..9756bfbbdd 100644
--- a/redhat/frr.spec.in
+++ b/redhat/frr.spec.in
@@ -260,7 +260,7 @@ Group: System Environment/Daemons
Requires: %{name} = %{version}-%{release}
%description devel
-The frr-devel package contains the header and object files neccessary for
+The frr-devel package contains the header and object files necessary for
developing OSPF-API and frr applications.