summaryrefslogtreecommitdiffstats
path: root/libsmartcols
diff options
context:
space:
mode:
authorRuediger Meier2016-11-30 15:16:45 +0100
committerRuediger Meier2016-12-01 00:01:43 +0100
commit12f17a23dfdf51b2cad3dfa48868b385aa19c4af (patch)
tree26af8c5fcfa2593d1d8d61183cd27716529f8819 /libsmartcols
parentmisc: spelling, always use "cannot" instead of "can not" (diff)
downloadkernel-qcow2-util-linux-12f17a23dfdf51b2cad3dfa48868b385aa19c4af.tar.gz
kernel-qcow2-util-linux-12f17a23dfdf51b2cad3dfa48868b385aa19c4af.tar.xz
kernel-qcow2-util-linux-12f17a23dfdf51b2cad3dfa48868b385aa19c4af.zip
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>
Diffstat (limited to 'libsmartcols')
-rw-r--r--libsmartcols/src/table.c4
-rw-r--r--libsmartcols/src/table_print.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c
index 5a6318d78..68f570d26 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 c73154ec6..c2c178f72 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
*