]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fs: btrfs: Fix typo in error message
authorNaoki Hayama <naoki.hayama@lineo.co.jp>
Mon, 12 Oct 2020 09:35:33 +0000 (18:35 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 15:26:14 +0000 (11:26 -0400)
%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>
fs/btrfs/btrfs.c

index cbf9dcffeb20c74643561f6d76fd0ceedf4b3b11..e48972ffa21ae4897e48e0f2ec946091052cfcf9 100644 (file)
@@ -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;
        }