btrfs-progs: fix typo in reported error
authorAnand Jain <anand.jain@oracle.com>
Wed, 5 Feb 2014 12:57:51 +0000 (20:57 +0800)
committerChris Mason <clm@fb.com>
Fri, 21 Mar 2014 13:23:09 +0000 (06:23 -0700)
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>
utils.c

diff --git a/utils.c b/utils.c
index 75b37f3..acd27b8 100644 (file)
--- 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;
        }