git: fd91b1f855ec - stable/15 - libc: print extended errors from warn(3) and vwarn(3)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Feb 2026 09:49:44 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=fd91b1f855ecfd544ae3b9d01ba58ad0c7952c5a
commit fd91b1f855ecfd544ae3b9d01ba58ad0c7952c5a
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-02-17 11:12:02 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-02-21 09:48:57 +0000
libc: print extended errors from warn(3) and vwarn(3)
(cherry picked from commit ffbf95907039821b69dfe1607d1695b46af82e35)
---
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