summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorNaoki Hayama <naoki.hayama@lineo.co.jp>2020-10-12 18:35:33 +0900
committerTom Rini <trini@konsulko.com>2020-10-22 11:26:14 -0400
commit09f2107a5fcbc06a0e5e9817fa0edc6b8ebfce3b (patch)
tree94f09b6a5aabb8d04e47e5fb74f9467e6edcfdb2 /fs
parent64dbd86b56846262cebfa4eea6c509783f80d365 (diff)
downloadu-boot-09f2107a5fcbc06a0e5e9817fa0edc6b8ebfce3b.tar.gz
fs: btrfs: Fix typo in error message
%s/occured/occurred/ Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp> Reviewed-by: Marek BehĂșn <kabel@kernel.org> Reviewed-by: Qu Wenruo <wqu@suse.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/btrfs.c4
1 files 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;
}