summaryrefslogtreecommitdiff
path: root/cmds-device.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-device.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-device.c')
-rw-r--r--cmds-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-device.c b/cmds-device.c
index 5be83300..0b1dc90b 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;
}
@@ -152,7 +152,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;
}