Re: [PATCH] tools: include: nolibc: Fix a typo occured to occurred in the file nolibc.h

From: Randy Dunlap
Date: Sat Feb 27 2021 - 18:05:45 EST


On 2/27/21 2:44 PM, Bhaskar Chowdhury wrote:
>
> s/occured/occurred/
>
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>


> ---
> Stolen result from Colin's finding and share from the other places. :)
>
> tools/include/nolibc/nolibc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/include/nolibc/nolibc.h b/tools/include/nolibc/nolibc.h
> index e61d36cd4e50..fc998c359607 100644
> --- a/tools/include/nolibc/nolibc.h
> +++ b/tools/include/nolibc/nolibc.h
> @@ -1054,7 +1054,7 @@ struct sys_stat_struct {
> * scall32-o32.S in the kernel sources.
> * - the system call is performed by calling "syscall"
> * - syscall return comes in v0, and register a3 needs to be checked to know
> - * if an error occured, in which case errno is in v0.
> + * if an error occurred, in which case errno is in v0.
> * - the arguments are cast to long and assigned into the target registers
> * which are then simply passed as registers to the asm code, so that we
> * don't have to experience issues with register constraints.
> --


--
~Randy