summaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-03-27 11:25:48 -0700
committerNeale Ranns <nranns@cisco.com>2019-03-28 06:36:04 +0000
commit8feeaff56fa9a4fbdfc06131f28a1060ffd9645d (patch)
tree76ab4368d46a40288e01aa46624470145c64524e /src/vlib
parent64f7530fff5d8811894c75fc3378a5c6da77d7b8 (diff)
Typos. A bunch of typos I've been collecting.
Change-Id: I53ab8d17914e6563110354e4052109ac02bf8f3b Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/buffer.c2
-rw-r--r--src/vlib/unix/cj.c6
-rw-r--r--src/vlib/unix/cli.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/vlib/buffer.c b/src/vlib/buffer.c
index 3b0b5d78349..21e91026b3e 100644
--- a/src/vlib/buffer.c
+++ b/src/vlib/buffer.c
@@ -321,7 +321,7 @@ static struct
vlib_main_t **vlib_mains = &__bootstrap_vlib_main_vector.vm;
-/* When dubugging validate that given buffers are either known allocated
+/* When debugging validate that given buffers are either known allocated
or known free. */
void
vlib_buffer_validate_alloc_free (vlib_main_t * vm,
diff --git a/src/vlib/unix/cj.c b/src/vlib/unix/cj.c
index 14d8fce950c..e163e1ae017 100644
--- a/src/vlib/unix/cj.c
+++ b/src/vlib/unix/cj.c
@@ -19,7 +19,7 @@
/**
* @file
- * Circular joournal diagnostic mechanism.
+ * Circular journal diagnostic mechanism.
*
* The @c cj thread-safe circular log buffer scheme is occasionally useful
* when chasing bugs. Calls to it should not be checked in.
@@ -106,7 +106,7 @@ cj_config (vlib_main_t * vm, unformat_input_t * input)
/*?
* Configure the circular journal diagnostic mechanism. This is only useful
- * if you, the deveoper, have written code to make use of the circular
+ * if you, the developer, have written code to make use of the circular
* journal.
*
* @cfgcmd{records, &lt;number&gt;}
@@ -258,7 +258,7 @@ done:
/*?
* Enable, disable the collection of diagnostic data into a
* circular journal or dump the circular journal diagnostic data.
- * This is only useful if you, the deveoper, have written code to make
+ * This is only useful if you, the developer, have written code to make
* use of the circular journal.
*
* When dumping the data it is formatted and sent to @c stderr of the
diff --git a/src/vlib/unix/cli.c b/src/vlib/unix/cli.c
index 56afbc2089b..f9d6b40c4d5 100644
--- a/src/vlib/unix/cli.c
+++ b/src/vlib/unix/cli.c
@@ -581,7 +581,7 @@ unix_cli_del_pending_output (clib_file_t * uf,
* @param str The buffer in which to search for the value.
* @param len The depth into the buffer to search.
*
- * @return The index of the first occurence of \c chr. If \c chr is not
+ * @return The index of the first occurrence of \c chr. If \c chr is not
* found then \c len instead.
*/
always_inline word
@@ -899,7 +899,7 @@ unix_cli_pager_redraw (unix_cli_file_t * cf, clib_file_t * uf)
*
* If instead @c line is @c NULL then @c len_or_index is taken to mean the
* index of an existing line in the pager buffer; this simply means that the
- * input line does not need to be cloned since we alreayd have it. This is
+ * input line does not need to be cloned since we already have it. This is
* typical if we are reindexing the pager buffer.
*
* @param cf The CLI session whose pager we are adding to.