]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
misc: fix typos using codespell
authorRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 30 Nov 2016 14:16:45 +0000 (15:16 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 30 Nov 2016 23:01:43 +0000 (00:01 +0100)
 # 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>
libsmartcols/src/table.c
libsmartcols/src/table_print.c
misc-utils/cal.c
sys-utils/lsmem.1

index 5a6318d78e2ab135ea10cd85162e60317f129b3e..68f570d2664a8977901717e33b57945534be1fe4 100644 (file)
@@ -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;
        }
index c73154ec6facba6354589d43936d9d07b7e666ab..c2c178f722670ec15e776857eacece3d919d8ab7 100644 (file)
@@ -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
  *
index 5e7b356c8fa178641153d54a8096b30e3887c51d..0e2f0d4a04179f1437d7b01fd27d551c4830c832 100644 (file)
@@ -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 */
index a9e2bfcc1e6358bc9041e283a2d17bf7bc526d60..dc348474dbe883425be3dfdacbf0fb7d9c7df998 100644 (file)
@@ -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