All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not"
@ 2016-11-30 14:23 Ruediger Meier
  2016-11-30 14:23 ` [PATCH 2/2] misc: fix typos using codespell Ruediger Meier
  2016-11-30 21:55 ` [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not" Tilman Schmidt
  0 siblings, 2 replies; 6+ messages in thread
From: Ruediger Meier @ 2016-11-30 14:23 UTC (permalink / raw)
  To: util-linux

From: Ruediger Meier <ruediger.meier@ga-group.nl>

Just to be consistent ...

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
---
 disk-utils/fsck.8              | 2 +-
 lib/plymouth-ctrl.c            | 6 +++---
 libblkid/src/tag.c             | 2 +-
 libfdisk/src/dos.c             | 2 +-
 login-utils/login.1            | 2 +-
 login-utils/sulogin-consoles.c | 2 +-
 login-utils/sulogin.c          | 4 ++--
 misc-utils/getopt.1            | 2 +-
 sys-utils/lscpu.c              | 4 ++--
 term-utils/agetty.8            | 2 +-
 term-utils/setterm.c           | 2 +-
 11 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/disk-utils/fsck.8 b/disk-utils/fsck.8
index df007f1..819c69f 100644
--- a/disk-utils/fsck.8
+++ b/disk-utils/fsck.8
@@ -197,7 +197,7 @@ Normally, the filesystem type is deduced by searching for
 in the
 .I /etc/fstab
 file and using the corresponding entry.
-If the type can not be deduced, and there is only a single filesystem
+If the type cannot be deduced, and there is only a single filesystem
 given as an argument to the
 .B \-t
 option,
diff --git a/lib/plymouth-ctrl.c b/lib/plymouth-ctrl.c
index 6cda7c8..75d8b93 100644
--- a/lib/plymouth-ctrl.c
+++ b/lib/plymouth-ctrl.c
@@ -69,13 +69,13 @@ static int open_un_socket_and_connect(void)
 
 	fd = socket(PF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
 	if (fd < 0) {
-		warnx(_("can not open UNIX socket"));
+		warnx(_("cannot open UNIX socket"));
 		goto err;
 	}
 
 	ret = setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &one, (socklen_t)sizeof(one));
 	if (ret < 0) {
-		warnx(_("can not set option for UNIX socket"));
+		warnx(_("cannot set option for UNIX socket"));
 		close(fd);
 		fd = -1;
 		goto err;
@@ -88,7 +88,7 @@ static int open_un_socket_and_connect(void)
 	ret = connect(fd, &su, offsetof(struct sockaddr_un, sun_path) + 1 + strlen(su.sun_path+1));
 	if (ret < 0) {
 		if (errno != ECONNREFUSED)
-			warnx(_("can not connect on UNIX socket"));
+			warnx(_("cannot connect on UNIX socket"));
 		close(fd);
 		fd = -1;
 		goto err;
diff --git a/libblkid/src/tag.c b/libblkid/src/tag.c
index 9b131ae..f07d058 100644
--- a/libblkid/src/tag.c
+++ b/libblkid/src/tag.c
@@ -441,7 +441,7 @@ int main(int argc, char **argv)
 
 	dev = blkid_get_dev(cache, devname, flags);
 	if (!dev) {
-		fprintf(stderr, "%s: Can not find device in blkid cache\n",
+		fprintf(stderr, "%s: cannot find device in blkid cache\n",
 			devname);
 		exit(1);
 	}
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c
index 5ea56c2..b2c6a58 100644
--- a/libfdisk/src/dos.c
+++ b/libfdisk/src/dos.c
@@ -346,7 +346,7 @@ static void dos_init(struct fdisk_context *cxt)
 					   | SIZE_SUFFIX_3LETTER, bytes);
 		fdisk_warnx(cxt,
 		_("The size of this disk is %s (%ju bytes). DOS "
-		  "partition table format can not be used on drives for "
+		  "partition table format cannot be used on drives for "
 		  "volumes larger than %lu bytes for %lu-byte "
 		  "sectors. Use GUID partition table format (GPT)."),
 			szstr, bytes,
diff --git a/login-utils/login.1 b/login-utils/login.1
index 551d3b2..d74e962 100644
--- a/login-utils/login.1
+++ b/login-utils/login.1
@@ -233,7 +233,7 @@ item is empty, then all the checks are disabled.
 .B DEFAULT_HOME
 (boolean)
 .RS 4
-Indicate if login is allowed if we can not change directory to the
+Indicate if login is allowed if we cannot change directory to the
 home directory.  If set to
 .IR yes ,
 the user will login in the root (/) directory if it is not possible
diff --git a/login-utils/sulogin-consoles.c b/login-utils/sulogin-consoles.c
index 595b516..532e7e7 100644
--- a/login-utils/sulogin-consoles.c
+++ b/login-utils/sulogin-consoles.c
@@ -113,7 +113,7 @@ void emergency_do_mounts(void)
 	}
 
 	if (stat("/", &rt) != 0) {
-		warn("can not get file status of root file system\n");
+		warn("cannot get file status of root file system\n");
 		return;
 	}
 
diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c
index 1c4313a..a44216b 100644
--- a/login-utils/sulogin.c
+++ b/login-utils/sulogin.c
@@ -1012,7 +1012,7 @@ int main(int argc, char **argv)
 				mask_signal(SIGINT,  SIG_IGN, &saved_sigint);
 
 				if (failed) {
-					fprintf(stderr, _("Can not execute su shell\n\n"));
+					fprintf(stderr, _("cannot execute su shell\n\n"));
 					break;
 				}
 				fprintf(stderr, _("Login incorrect\n\n"));
@@ -1051,7 +1051,7 @@ int main(int argc, char **argv)
 				continue;
 		}
 
-		errx(EXIT_FAILURE, _("Can not wait on su shell\n\n"));
+		errx(EXIT_FAILURE, _("cannot wait on su shell\n\n"));
 
 	} while (1);
 
diff --git a/misc-utils/getopt.1 b/misc-utils/getopt.1
index 7cde033..62fd8aa 100644
--- a/misc-utils/getopt.1
+++ b/misc-utils/getopt.1
@@ -437,7 +437,7 @@ to use the first calling format as specified in the
 .SH BUGS
 .BR getopt (3)
 can parse long options with optional arguments that are given an
-empty optional argument (but can not do this for short options).
+empty optional argument (but cannot do this for short options).
 This
 .BR getopt (1)
 treats optional arguments that are empty as if they were not present.
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
index bd702b0..e3e6ff6 100644
--- a/sys-utils/lscpu.c
+++ b/sys-utils/lscpu.c
@@ -886,12 +886,12 @@ is_vmware_platform(void)
 	act.sa_flags = SA_SIGINFO;
 
 	if (sigaction(SIGSEGV, &act, &oact))
-		err(EXIT_FAILURE, _("error: can not set signal handler"));
+		err(EXIT_FAILURE, _("cannot set signal handler"));
 
 	vmware_bdoor(&eax, &ebx, &ecx, &edx);
 
 	if (sigaction(SIGSEGV, &oact, NULL))
-		err(EXIT_FAILURE, _("error: can not restore signal handler"));
+		err(EXIT_FAILURE, _("cannot restore signal handler"));
 
 	return eax != (uint32_t)-1 && ebx == VMWARE_BDOOR_MAGIC;
 }
diff --git a/term-utils/agetty.8 b/term-utils/agetty.8
index 446f389..3dbbb89 100644
--- a/term-utils/agetty.8
+++ b/term-utils/agetty.8
@@ -305,7 +305,7 @@ which then get passed to the used login program.  Agetty does check
 for a leading "\-" and makes sure the logname gets passed as one parameter
 (so embedded spaces will not create yet another parameter), but depending
 on how the login binary parses the command line that might not be sufficient.
-Check that the used login program can not be abused this way.
+Check that the used login program cannot be abused this way.
 .PP
 Some  programs use "\-\-" to indicate that the rest of the commandline should
 not be interpreted as options.  Use this feature if available by passing "\-\-"
diff --git a/term-utils/setterm.c b/term-utils/setterm.c
index e2c627a..f1cdd24 100644
--- a/term-utils/setterm.c
+++ b/term-utils/setterm.c
@@ -768,7 +768,7 @@ static void screendump(struct setterm_control *ctl)
 		ctl->opt_sn_name = "screen.dump";
 	out = fopen(ctl->opt_sn_name, ctl->opt_snap ? "w" : "a");
 	if (!out)
-		err(EXIT_DUMPFILE, _("can not open dump file %s for output"), ctl->opt_sn_name);
+		err(EXIT_DUMPFILE, _("cannot open dump file %s for output"), ctl->opt_sn_name);
 	/* determine snapshot size */
 	if (read(fd, header, 4) != 4)
 		err(EXIT_DUMPFILE, _("cannot read %s"), ctl->in_device);
-- 
1.8.5.6


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] misc: fix typos using codespell
  2016-11-30 14:23 [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not" Ruediger Meier
@ 2016-11-30 14:23 ` Ruediger Meier
  2016-11-30 18:29   ` J William Piggott
  2016-11-30 21:55 ` [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not" Tilman Schmidt
  1 sibling, 1 reply; 6+ messages in thread
From: Ruediger Meier @ 2016-11-30 14:23 UTC (permalink / raw)
  To: util-linux

From: Ruediger Meier <ruediger.meier@ga-group.nl>

 # 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/")

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
---
 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
  * @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
-- 
1.8.5.6


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] misc: fix typos using codespell
  2016-11-30 14:23 ` [PATCH 2/2] misc: fix typos using codespell Ruediger Meier
@ 2016-11-30 18:29   ` J William Piggott
  2016-11-30 23:05     ` Ruediger Meier
  0 siblings, 1 reply; 6+ messages in thread
From: J William Piggott @ 2016-11-30 18:29 UTC (permalink / raw)
  To: Ruediger Meier, util-linux



On 11/30/2016 09:23 AM, Ruediger Meier wrote:
> From: Ruediger Meier <ruediger.meier@ga-group.nl>
> 
>  # 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/")
> 
> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
> ---
>  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/

>   * @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
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not"
  2016-11-30 14:23 [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not" Ruediger Meier
  2016-11-30 14:23 ` [PATCH 2/2] misc: fix typos using codespell Ruediger Meier
@ 2016-11-30 21:55 ` Tilman Schmidt
  2016-11-30 22:59   ` Ruediger Meier
  1 sibling, 1 reply; 6+ messages in thread
From: Tilman Schmidt @ 2016-11-30 21:55 UTC (permalink / raw)
  To: Ruediger Meier, util-linux


[-- Attachment #1.1: Type: text/plain, Size: 1704 bytes --]

Am 30.11.2016 um 15:23 schrieb Ruediger Meier:
[...]
> diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c
> index 1c4313a..a44216b 100644
> --- a/login-utils/sulogin.c
> +++ b/login-utils/sulogin.c
> @@ -1012,7 +1012,7 @@ int main(int argc, char **argv)
>  				mask_signal(SIGINT,  SIG_IGN, &saved_sigint);
>  
>  				if (failed) {
> -					fprintf(stderr, _("Can not execute su shell\n\n"));
> +					fprintf(stderr, _("cannot execute su shell\n\n"));

Might be better to preserve capitalization here.

>  					break;
>  				}
>  				fprintf(stderr, _("Login incorrect\n\n"));
> @@ -1051,7 +1051,7 @@ int main(int argc, char **argv)
>  				continue;
>  		}
>  
> -		errx(EXIT_FAILURE, _("Can not wait on su shell\n\n"));
> +		errx(EXIT_FAILURE, _("cannot wait on su shell\n\n"));

And here.

>  
>  	} while (1);
>  
[...]
> diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
> index bd702b0..e3e6ff6 100644
> --- a/sys-utils/lscpu.c
> +++ b/sys-utils/lscpu.c
> @@ -886,12 +886,12 @@ is_vmware_platform(void)
>  	act.sa_flags = SA_SIGINFO;
>  
>  	if (sigaction(SIGSEGV, &act, &oact))
> -		err(EXIT_FAILURE, _("error: can not set signal handler"));
> +		err(EXIT_FAILURE, _("cannot set signal handler"));
>  
>  	vmware_bdoor(&eax, &ebx, &ecx, &edx);
>  
>  	if (sigaction(SIGSEGV, &oact, NULL))
> -		err(EXIT_FAILURE, _("error: can not restore signal handler"));
> +		err(EXIT_FAILURE, _("cannot restore signal handler"));

Why drop the prefix "error: " in these two instances?

Thanks,
Tilman

-- 
Tilman Schmidt                              E-Mail: tilman@imap.cc
Bonn, Germany
Nous, on a des fleurs et des bougies pour nous protéger.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not"
  2016-11-30 21:55 ` [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not" Tilman Schmidt
@ 2016-11-30 22:59   ` Ruediger Meier
  0 siblings, 0 replies; 6+ messages in thread
From: Ruediger Meier @ 2016-11-30 22:59 UTC (permalink / raw)
  To: Tilman Schmidt; +Cc: util-linux

On Wednesday 30 November 2016, Tilman Schmidt wrote:
> Am 30.11.2016 um 15:23 schrieb Ruediger Meier:
> [...]
>
> > diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c
> > index 1c4313a..a44216b 100644
> > --- a/login-utils/sulogin.c
> > +++ b/login-utils/sulogin.c
> > @@ -1012,7 +1012,7 @@ int main(int argc, char **argv)
> >  				mask_signal(SIGINT,  SIG_IGN, &saved_sigint);
> >
> >  				if (failed) {
> > -					fprintf(stderr, _("Can not execute su shell\n\n"));
> > +					fprintf(stderr, _("cannot execute su shell\n\n"));
>
> Might be better to preserve capitalization here.

I've changed it on purpose because usually we use small capitals in UL 
and no sentences (not ending with dot). This would be another thing we 
could make consistent for the whole project.

> >  					break;
> >  				}
> >  				fprintf(stderr, _("Login incorrect\n\n"));
> > @@ -1051,7 +1051,7 @@ int main(int argc, char **argv)
> >  				continue;
> >  		}
> >
> > -		errx(EXIT_FAILURE, _("Can not wait on su shell\n\n"));
> > +		errx(EXIT_FAILURE, _("cannot wait on su shell\n\n"));
>
> And here.
>
> >  	} while (1);
>
> [...]
>
> > diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
> > index bd702b0..e3e6ff6 100644
> > --- a/sys-utils/lscpu.c
> > +++ b/sys-utils/lscpu.c
> > @@ -886,12 +886,12 @@ is_vmware_platform(void)
> >  	act.sa_flags = SA_SIGINFO;
> >
> >  	if (sigaction(SIGSEGV, &act, &oact))
> > -		err(EXIT_FAILURE, _("error: can not set signal handler"));
> > +		err(EXIT_FAILURE, _("cannot set signal handler"));
> >
> >  	vmware_bdoor(&eax, &ebx, &ecx, &edx);
> >
> >  	if (sigaction(SIGSEGV, &oact, NULL))
> > -		err(EXIT_FAILURE, _("error: can not restore signal handler"));
> > +		err(EXIT_FAILURE, _("cannot restore signal handler"));
>
> Why drop the prefix "error: " in these two instances?
>
> Thanks,
> Tilman



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] misc: fix typos using codespell
  2016-11-30 18:29   ` J William Piggott
@ 2016-11-30 23:05     ` Ruediger Meier
  0 siblings, 0 replies; 6+ messages in thread
From: Ruediger Meier @ 2016-11-30 23:05 UTC (permalink / raw)
  To: J William Piggott; +Cc: util-linux

On Wednesday 30 November 2016, J William Piggott wrote:
> On 11/30/2016 09:23 AM, Ruediger Meier wrote:
> > From: Ruediger Meier <ruediger.meier@ga-group.nl>
> >
> >  # 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@ga-group.nl>
> > ---
> >  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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-30 23:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-30 14:23 [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not" Ruediger Meier
2016-11-30 14:23 ` [PATCH 2/2] misc: fix typos using codespell Ruediger Meier
2016-11-30 18:29   ` J William Piggott
2016-11-30 23:05     ` Ruediger Meier
2016-11-30 21:55 ` [PATCH 1/2] misc: spelling, always use "cannot" instead of "can not" Tilman Schmidt
2016-11-30 22:59   ` Ruediger Meier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.