public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Qu Wenruo <wqu@suse.com>
To: u-boot@lists.denx.de
Subject: [PATCH] fs: btrfs: Fix typo in error message
Date: Mon, 12 Oct 2020 19:03:08 +0800	[thread overview]
Message-ID: <c80d47a6-abd5-e81f-c538-ca132ead4068@suse.com> (raw)
In-Reply-To: <20201012093533.19863-1-naoki.hayama@lineo.co.jp>



On 2020/10/12 ??5:35, Naoki Hayama wrote:
> %s/occured/occurred/
> 
> Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp>

I'm definitely not the best guy to review, but this still looks good to me.

Reviewed-by: Qu Wenruo <wqu@suse.com>

BTW, if you're still looking into the spell problems, it would be better
to put all of the typo fixes into a big patch.

Thanks,
Qu
> ---
> 
>  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;
>  	}
>  
> 

  parent reply	other threads:[~2020-10-12 11:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12  9:35 [PATCH] fs: btrfs: Fix typo in error message Naoki Hayama
2020-10-12  9:53 ` Marek Behún
2020-10-12 11:03 ` Qu Wenruo [this message]
2020-10-13  0:45   ` Naoki Hayama
2020-10-23  0:30 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c80d47a6-abd5-e81f-c538-ca132ead4068@suse.com \
    --to=wqu@suse.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox