From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: util-linux-owner@vger.kernel.org Received: from mout.gmx.net ([212.227.17.21]:50156 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754688AbcK3XGA (ORCPT ); Wed, 30 Nov 2016 18:06:00 -0500 From: Ruediger Meier To: J William Piggott Subject: Re: [PATCH 2/2] misc: fix typos using codespell Date: Thu, 1 Dec 2016 00:05:50 +0100 Cc: util-linux@vger.kernel.org References: <1480515830-1408-1-git-send-email-sweet_f_a@gmx.de> <1480515830-1408-2-git-send-email-sweet_f_a@gmx.de> <6c0ee586-0d6f-8408-2669-2838b6987022@gmx.com> In-Reply-To: <6c0ee586-0d6f-8408-2669-2838b6987022@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Message-Id: <201612010005.50713.sweet_f_a@gmx.de> Sender: util-linux-owner@vger.kernel.org List-ID: On Wednesday 30 November 2016, J William Piggott wrote: > On 11/30/2016 09:23 AM, Ruediger Meier wrote: > > From: Ruediger Meier > > > > # command used was: > > $ ~/src/codespell/codespell \ > > -w -D > > /home/rudi/src/codespell/build/lib/codespell_lib/data/dictionary.tx > >t \ $(git ls-files | grep -v > > "^po/\|\.xz$\|\.gz$\|\.bz2$\|\.img$\|^Documentation/releases/") > > > > Signed-off-by: Ruediger Meier > > --- > > libsmartcols/src/table.c | 4 ++-- > > libsmartcols/src/table_print.c | 2 +- > > misc-utils/cal.c | 2 +- > > sys-utils/lsmem.1 | 2 +- > > 4 files changed, 5 insertions(+), 5 deletions(-) > > > > diff --git a/libsmartcols/src/table.c b/libsmartcols/src/table.c > > index 5a6318d..68f570d 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 c73154e..8c1c400 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 > > begin of the table > > s/begin/beginning/ Thanks I've updated the github pull request https://github.com/karelzak/util-linux/pull/379 > > * @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 5e7b356..0e2f0d4 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 a9e2bfc..dc34847 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 > > -- > To unsubscribe from this list: send the line "unsubscribe util-linux" > in the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html