From 09f2107a5fcbc06a0e5e9817fa0edc6b8ebfce3b Mon Sep 17 00:00:00 2001 From: Naoki Hayama Date: Mon, 12 Oct 2020 18:35:33 +0900 Subject: fs: btrfs: Fix typo in error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %s/occured/occurred/ Signed-off-by: Naoki Hayama Reviewed-by: Marek BehĂșn Reviewed-by: Qu Wenruo --- fs/btrfs/btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs') diff --git a/fs/btrfs/btrfs.c b/fs/btrfs/btrfs.c index cbf9dcf..e48972f 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; } -- cgit v1.1