The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ffbf95907039821b69dfe1607d1695b46af82e35
commit ffbf95907039821b69dfe1607d1695b46af82e35 Author: Konstantin Belousov <[email protected]> AuthorDate: 2026-02-17 11:12:02 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-02-17 20:04:07 +0000 libc: print extended errors from warn(3) and vwarn(3) Noted and reviewed by: mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D55327 --- lib/libc/gen/err.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c index 793bf7522e42..2628eb8186cc 100644 --- a/lib/libc/gen/err.c +++ b/lib/libc/gen/err.c @@ -163,14 +163,14 @@ _warn(const char *fmt, ...) { va_list ap; va_start(ap, fmt); - vwarnc(errno, fmt, ap); + vwarnci(true, errno, fmt, ap); va_end(ap); } void vwarn(const char *fmt, va_list ap) { - vwarnc(errno, fmt, ap); + vwarnci(true, errno, fmt, ap); } void
