mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-26 16:12:34 +00:00
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>
This commit is contained in:
parent
197c6d85ff
commit
afb47079fa
4
utils.c
4
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);
|
fd = open(mount_path, O_RDONLY | O_NOATIME);
|
||||||
if (fd < 0) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1396,7 +1396,7 @@ int get_label_mounted(const char *mount_path, char *labelp)
|
|||||||
|
|
||||||
fd = open(mount_path, O_RDONLY | O_NOATIME);
|
fd = open(mount_path, O_RDONLY | O_NOATIME);
|
||||||
if (fd < 0) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user