aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuediger Meier <ruediger.meier@ga-group.nl>2016-11-30 15:16:45 +0100
committerRuediger Meier <ruediger.meier@ga-group.nl>2016-12-01 00:01:43 +0100
commit12f17a23dfdf51b2cad3dfa48868b385aa19c4af (patch)
tree26af8c5fcfa2593d1d8d61183cd27716529f8819
parent223939d95b086ee56b780e34d7abf1fe59afbeb2 (diff)
downloadutil-linux-12f17a23dfdf51b2cad3dfa48868b385aa19c4af.tar.gz
misc: fix typos using codespell
# command used was: $ ~/src/codespell/codespell \ -w -D /home/rudi/src/codespell/build/lib/codespell_lib/data/dictionary.txt \ $(git ls-files | grep -v "^po/\|\.xz$\|\.gz$\|\.bz2$\|\.img$\|^Documentation/releases/") BTW some manually grammer fixes: s/uses/used/ s/begin/beginning/ Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
-rw-r--r--libsmartcols/src/table.c4
-rw-r--r--libsmartcols/src/table_print.c2
-rw-r--r--misc-utils/cal.c2
-rw-r--r--sys-utils/lsmem.12
4 files changed, 5 insertions, 5 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index 5a6318d78e..68f570d266 100644
--- a/libsmartcols/src/table.c
+++ b/libsmartcols/src/table.c
@@ -737,7 +737,7 @@ int scols_table_set_default_symbols(struct libscols_table *tb)
* draw tree output. If no symbols are used for the table then library creates
* default temporary symbols to draw output by scols_table_set_default_symbols().
*
- * If @sy is NULL then remove reference from the currenly uses symbols.
+ * If @sy is NULL then remove reference from the currently used symbols.
*
* Returns: 0, a negative value in case of an error.
*/
@@ -749,7 +749,7 @@ int scols_table_set_symbols(struct libscols_table *tb,
/* remove old */
if (tb->symbols) {
- DBG(TAB, ul_debugobj(tb, "remove symbols %p refrence", tb->symbols));
+ DBG(TAB, ul_debugobj(tb, "remove symbols %p reference", tb->symbols));
scols_unref_symbols(tb->symbols);
tb->symbols = NULL;
}
diff --git a/libsmartcols/src/table_print.c b/libsmartcols/src/table_print.c
index c73154ec6f..c2c178f722 100644
--- a/libsmartcols/src/table_print.c
+++ b/libsmartcols/src/table_print.c
@@ -1471,7 +1471,7 @@ done:
/**
* scols_table_print_range_to_string:
* @tb: table
- * @start: first printed line or NULL to print from the beggin of the table
+ * @start: first printed line or NULL to print from the beginning of the table
* @end: last printed line or NULL to print all from start.
* @data: pointer to the beginning of a memory area to print to
*
diff --git a/misc-utils/cal.c b/misc-utils/cal.c
index 5e7b356c8f..0e2f0d4a04 100644
--- a/misc-utils/cal.c
+++ b/misc-utils/cal.c
@@ -206,7 +206,7 @@ struct cal_control {
const char *abbr_month[MONTHS_IN_YEAR]; /* abbreviated month names */
int colormode; /* day and week number highlight */
- int num_months; /* number of requested monts */
+ int num_months; /* number of requested months */
int span_months; /* span the date */
int months_in_row; /* number of months horizontally in print out */
int weekstart; /* day the week starts, often Sun or Mon */
diff --git a/sys-utils/lsmem.1 b/sys-utils/lsmem.1
index a9e2bfcc1e..dc348474db 100644
--- a/sys-utils/lsmem.1
+++ b/sys-utils/lsmem.1
@@ -18,7 +18,7 @@ together with a columns list in environments where a stable output is required.
Not all columns are supported on all systems. If an unsupported column is
specified, \fBlsmem\fP prints the column but does not provide any data for it.
-Use the \fB\-\-help\fR option to see the columns desription.
+Use the \fB\-\-help\fR option to see the columns description.
.SH OPTIONS
.TP