From ef3f6124f0b5e8be126999f27f7f299a6bb3fbf6 Mon Sep 17 00:00:00 2001 From: Mitchel Humpherys Date: Tue, 14 Jan 2014 13:44:03 -0800 Subject: btrfs-progs: fix minor grammar issues Remove the extraneous `to' from `Can't access to X'. Signed-off-by: Mitchel Humpherys Signed-off-by: David Sterba Signed-off-by: Chris Mason --- cmds-subvolume.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cmds-subvolume.c') diff --git a/cmds-subvolume.c b/cmds-subvolume.c index 38229d0c..0c5b6038 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; } @@ -319,7 +319,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; } @@ -685,13 +685,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; } @@ -825,7 +825,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; } -- cgit v1.2.3