Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/compat/gen libc: Use a functional example when warn...



details:   https://anonhg.NetBSD.org/src/rev/272761557a93
branches:  trunk
changeset: 371774:272761557a93
user:      nia <nia%NetBSD.org@localhost>
date:      Sat Oct 08 12:56:51 2022 +0000

description:
libc: Use a functional example when warning about incorrect alloca usage

diffstat:

 lib/libc/compat/gen/compat_alloca.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (9 lines):

diff -r f3f2a7cc3dc5 -r 272761557a93 lib/libc/compat/gen/compat_alloca.c
--- a/lib/libc/compat/gen/compat_alloca.c       Sat Oct 08 08:21:56 2022 +0000
+++ b/lib/libc/compat/gen/compat_alloca.c       Sat Oct 08 12:56:51 2022 +0000
@@ -3,4 +3,4 @@
 __warn_references(alloca,
     "Warning: reference to the libc supplied alloca(3); this most likely will "
     "not work. Please use the compiler provided version of alloca(3), by "
-    "supplying the appropriate compiler flags (e.g. not -std=c89).")
+    "supplying the appropriate compiler flags (e.g. -std=gnu99).")



Home | Main Index | Thread Index | Old Index