summaryrefslogtreecommitdiff
path: root/cmds-balance.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-balance.c
parentf920dbce8d8161fff30e3e75ebfc71e978d9bea4 (diff)
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-balance.c')
-rw-r--r--cmds-balance.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmds-balance.c b/cmds-balance.c
index a151475f..8a743eca 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;
}