summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Taylor <louis@kragniz.eu>2025-03-06 18:41:21 +0000
committerThomas Weißschuh <linux@weissschuh.net>2025-03-06 22:30:21 +0100
commit00e03fea969efd46b104acd271e7f7e08e7c23bf (patch)
tree96589b75ad4671e517fa838e4deb8b090d26978d
parent90e1f9f7440cba79716a9d5b0c9df2ce6a661197 (diff)
tools/nolibc: drop outdated example from overview comment
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@kragniz.eu> Link: https://lore.kernel.org/r/20250306184147.208723-4-louis@kragniz.eu Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
-rw-r--r--tools/include/nolibc/nolibc.h3
1 files changed, 1 insertions, 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