From afb47079fa1e57c63c0ae0cfcb90817f3abf6830 Mon Sep 17 00:00:00 2001 From: Anand Jain Date: Wed, 5 Feb 2014 20:57:51 +0800 Subject: btrfs-progs: fix typo in reported error Signed-off-by: Anand Jain Signed-off-by: David Sterba Signed-off-by: Chris Mason --- utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils.c') 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; } -- cgit v1.2.3