mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-12-05 10:04:17 +08: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);
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user