Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH] Minor grammar nitpick
@ 2014-01-14 21:44 Mitchel Humpherys
  2014-01-14 21:44 ` [PATCH] btrfs-progs: fix minor grammar issues Mitchel Humpherys
  2014-01-14 21:47 ` [PATCH] Minor grammar nitpick Hugo Mills
  0 siblings, 2 replies; 3+ messages in thread
From: Mitchel Humpherys @ 2014-01-14 21:44 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Mitchel Humpherys

This patch removes the word `to' from the `Can't access to X' error
messages.

Mitchel Humpherys (1):
  btrfs-progs: fix minor grammar issues

 cmds-balance.c    | 10 +++++-----
 cmds-device.c     |  4 ++--
 cmds-filesystem.c |  6 +++---
 cmds-scrub.c      |  2 +-
 cmds-subvolume.c  | 10 +++++-----
 5 files changed, 16 insertions(+), 16 deletions(-)

-- 
Mitch

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

* [PATCH] btrfs-progs: fix minor grammar issues
  2014-01-14 21:44 [PATCH] Minor grammar nitpick Mitchel Humpherys
@ 2014-01-14 21:44 ` Mitchel Humpherys
  2014-01-14 21:47 ` [PATCH] Minor grammar nitpick Hugo Mills
  1 sibling, 0 replies; 3+ messages in thread
From: Mitchel Humpherys @ 2014-01-14 21:44 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Mitchel Humpherys

Remove the extraneous `to' from `Can't access to X'.

Signed-off-by: Mitchel Humpherys <mitch.special@gmail.com>
---
 cmds-balance.c    | 10 +++++-----
 cmds-device.c     |  4 ++--
 cmds-filesystem.c |  6 +++---
 cmds-scrub.c      |  2 +-
 cmds-subvolume.c  | 10 +++++-----
 5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/cmds-balance.c b/cmds-balance.c
index a151475..8a743ec 100644
--- a/cmds-balance.c
+++ b/cmds-balance.c
@@ -298,7 +298,7 @@ static int do_balance(const char *path, struct btrfs_ioctl_balance_args *args,
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 
@@ -497,7 +497,7 @@ static int cmd_balance_pause(int argc, char **argv)
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 
@@ -538,7 +538,7 @@ static int cmd_balance_cancel(int argc, char **argv)
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 
@@ -580,7 +580,7 @@ static int cmd_balance_resume(int argc, char **argv)
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 
@@ -673,7 +673,7 @@ static int cmd_balance_status(int argc, char **argv)
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 2;
 	}
 
diff --git a/cmds-device.c b/cmds-device.c
index bc4a8dc..1717294 100644
--- a/cmds-device.c
+++ b/cmds-device.c
@@ -85,7 +85,7 @@ static int cmd_add_dev(int argc, char **argv)
 
 	fdmnt = open_file_or_dir(mntpnt, &dirstream);
 	if (fdmnt < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", mntpnt);
+		fprintf(stderr, "ERROR: can't access '%s'\n", mntpnt);
 		return 1;
 	}
 
@@ -153,7 +153,7 @@ static int cmd_rm_dev(int argc, char **argv)
 
 	fdmnt = open_file_or_dir(mntpnt, &dirstream);
 	if (fdmnt < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", mntpnt);
+		fprintf(stderr, "ERROR: can't access '%s'\n", mntpnt);
 		return 1;
 	}
 
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 1c1926b..8c5c37f 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -232,7 +232,7 @@ static int cmd_df(int argc, char **argv)
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 	ret = get_df(fd, &sargs);
@@ -579,7 +579,7 @@ static int cmd_sync(int argc, char **argv)
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 
@@ -840,7 +840,7 @@ static int cmd_resize(int argc, char **argv)
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 
diff --git a/cmds-scrub.c b/cmds-scrub.c
index 605af45..d9e47c1 100644
--- a/cmds-scrub.c
+++ b/cmds-scrub.c
@@ -1643,7 +1643,7 @@ static int cmd_scrub_status(int argc, char **argv)
 	fdmnt = open_path_or_dev_mnt(path, &dirstream);
 
 	if (fdmnt < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index f57694a..2645c85 100644
--- a/cmds-subvolume.c
+++ b/cmds-subvolume.c
@@ -142,7 +142,7 @@ static int cmd_subvol_create(int argc, char **argv)
 
 	fddst = open_file_or_dir(dstdir, &dirstream);
 	if (fddst < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", dstdir);
+		fprintf(stderr, "ERROR: can't access '%s'\n", dstdir);
 		goto out;
 	}
 
@@ -266,7 +266,7 @@ again:
 
 	fd = open_file_or_dir(dname, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", dname);
+		fprintf(stderr, "ERROR: can't access '%s'\n", dname);
 		ret = 1;
 		goto out;
 	}
@@ -611,13 +611,13 @@ static int cmd_snapshot(int argc, char **argv)
 
 	fddst = open_file_or_dir(dstdir, &dirstream1);
 	if (fddst < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", dstdir);
+		fprintf(stderr, "ERROR: can't access '%s'\n", dstdir);
 		goto out;
 	}
 
 	fd = open_file_or_dir(subvol, &dirstream2);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", dstdir);
+		fprintf(stderr, "ERROR: can't access '%s'\n", dstdir);
 		goto out;
 	}
 
@@ -751,7 +751,7 @@ static int cmd_subvol_set_default(int argc, char **argv)
 
 	fd = open_file_or_dir(path, &dirstream);
 	if (fd < 0) {
-		fprintf(stderr, "ERROR: can't access to '%s'\n", path);
+		fprintf(stderr, "ERROR: can't access '%s'\n", path);
 		return 1;
 	}
 
-- 
Mitch

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

* Re: [PATCH] Minor grammar nitpick
  2014-01-14 21:44 [PATCH] Minor grammar nitpick Mitchel Humpherys
  2014-01-14 21:44 ` [PATCH] btrfs-progs: fix minor grammar issues Mitchel Humpherys
@ 2014-01-14 21:47 ` Hugo Mills
  1 sibling, 0 replies; 3+ messages in thread
From: Hugo Mills @ 2014-01-14 21:47 UTC (permalink / raw)
  To: Mitchel Humpherys; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

On Tue, Jan 14, 2014 at 01:44:02PM -0800, Mitchel Humpherys wrote:
> This patch removes the word `to' from the `Can't access to X' error
> messages.

   Thanks. That's been annoying me intermittently for years. (Just not
quite enough to do anything about it).

   Hugo.

> Mitchel Humpherys (1):
>   btrfs-progs: fix minor grammar issues
> 
>  cmds-balance.c    | 10 +++++-----
>  cmds-device.c     |  4 ++--
>  cmds-filesystem.c |  6 +++---
>  cmds-scrub.c      |  2 +-
>  cmds-subvolume.c  | 10 +++++-----
>  5 files changed, 16 insertions(+), 16 deletions(-)
> 

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
              --- Python is executable pseudocode; perl ---              
                        is executable line-noise.                        

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

end of thread, other threads:[~2014-01-14 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14 21:44 [PATCH] Minor grammar nitpick Mitchel Humpherys
2014-01-14 21:44 ` [PATCH] btrfs-progs: fix minor grammar issues Mitchel Humpherys
2014-01-14 21:47 ` [PATCH] Minor grammar nitpick Hugo Mills

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox