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>
master
Anand Jain 2014-02-05 20:57:51 +08:00 committed by Chris Mason
parent 197c6d85ff
commit afb47079fa
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}