summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2014-02-05 20:57:51 +0800
committerChris Mason <clm@fb.com>2014-03-21 06:23:09 -0700
commitafb47079fa1e57c63c0ae0cfcb90817f3abf6830 (patch)
tree200e16ee799410fc248ca0436b6eafdb364ca24a /utils.c
parent197c6d85ffbfabcb262b111ee0fb373c414d425f (diff)
btrfs-progs: fix typo in reported error
Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index 75b37f39..acd27b80 100644
--- a/utils.c
+++ b/utils.c
@@ -1339,7 +1339,7 @@ static int set_label_mounted(const char *mount_path, const char *label)
fd = open(mount_path, O_RDONLY | O_NOATIME);
if (fd < 0) {
- fprintf(stderr, "ERROR: unable access to '%s'\n", mount_path);
+ fprintf(stderr, "ERROR: unable to access '%s'\n", mount_path);
return -1;
}
@@ -1396,7 +1396,7 @@ int get_label_mounted(const char *mount_path, char *labelp)
fd = open(mount_path, O_RDONLY | O_NOATIME);
if (fd < 0) {
- fprintf(stderr, "ERROR: unable access to '%s'\n", mount_path);
+ fprintf(stderr, "ERROR: unable to access '%s'\n", mount_path);
return -1;
}