Re: [PATCH 2/2] misc: fix typos using codespell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 30 November 2016, J William Piggott wrote:
> On 11/30/2016 09:23 AM, Ruediger Meier wrote:
> > From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx>
> >
> >  # 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 <ruediger.meier@xxxxxxxxxxx>
> > ---
> >  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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux