[PATCH] fs: btrfs: Fix typo in error message

Naoki Hayama naoki.hayama at lineo.co.jp
Mon Oct 12 11:35:33 CEST 2020


%s/occured/occurred/

Signed-off-by: Naoki Hayama <naoki.hayama at lineo.co.jp>
---

 fs/btrfs/btrfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/btrfs.c b/fs/btrfs/btrfs.c
index cbf9dcffeb..e48972ffa2 100644
--- a/fs/btrfs/btrfs.c
+++ b/fs/btrfs/btrfs.c
@@ -150,7 +150,7 @@ int btrfs_ls(const char *path)
 	}
 	ret = btrfs_iter_dir(root, ino, show_dir);
 	if (ret < 0) {
-		error("An error occured while listing directory %s", path);
+		error("An error occurred while listing directory %s", path);
 		return ret;
 	}
 	return 0;
@@ -257,7 +257,7 @@ int btrfs_read(const char *file, void *buf, loff_t offset, loff_t len,
 
 	ret = btrfs_file_read(root, ino, offset, len, buf);
 	if (ret < 0) {
-		error("An error occured while reading file %s", file);
+		error("An error occurred while reading file %s", file);
 		return ret;
 	}
 
-- 
2.17.1



More information about the U-Boot mailing list