aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-subvolume.c
diff options
context:
space:
mode:
authorMitchel Humpherys <mitch.special@gmail.com>2014-01-14 13:44:03 -0800
committerChris Mason <clm@fb.com>2014-01-31 08:22:28 -0800
commitef3f6124f0b5e8be126999f27f7f299a6bb3fbf6 (patch)
tree26834d311885dc9a773d9d47425e7545d1955928 /cmds-subvolume.c
parentf920dbce8d8161fff30e3e75ebfc71e978d9bea4 (diff)
downloadbtrfs-progs-ef3f6124f0b5e8be126999f27f7f299a6bb3fbf6.tar.gz
btrfs-progs-ef3f6124f0b5e8be126999f27f7f299a6bb3fbf6.tar.xz
btrfs-progs-ef3f6124f0b5e8be126999f27f7f299a6bb3fbf6.zip
btrfs-progs: fix minor grammar issues
Remove the extraneous `to' from `Can't access to X'. Signed-off-by: Mitchel Humpherys <mitch.special@gmail.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'cmds-subvolume.c')
-rw-r--r--cmds-subvolume.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c
index 38229d0..0c5b603 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;
}