Re: [PATCH v2 4/5] tools/nolibc: drop outdated example from overview comment
From: Thomas Weißschuh
Date: Thu Mar 06 2025 - 12:02:53 EST
On 2025-03-04 07:58:18+0000, Louis Taylor wrote:
> This behaviour was changed in commit a7604ba149e7 ("tools/nolibc/sys:
> make open() take a vararg on the 3rd argument").
>
> Signed-off-by: Louis Taylor <louis@xxxxxxxxxx>
Acked-by : Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---
> tools/include/nolibc/nolibc.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tools/include/nolibc/nolibc.h b/tools/include/nolibc/nolibc.h
> index 05d92afedb72..70872401aca8 100644
> --- a/tools/include/nolibc/nolibc.h
> +++ b/tools/include/nolibc/nolibc.h
> @@ -31,8 +31,7 @@
> * - The third level is the libc call definition. It exposes the lower raw
> * sys_<name>() calls in a way that looks like what a libc usually does,
> * takes care of specific input values, and of setting errno upon error.
> - * There can be minor variations compared to standard libc calls. For
> - * example the open() call always takes 3 args here.
> + * There can be minor variations compared to standard libc calls.
> *
> * The errno variable is declared static and unused. This way it can be
> * optimized away if not used. However this means that a program made of
> --
> 2.45.2
>