Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2026 20:04:16 +0000
Message-ID:  <6994c9c0.19f2a.5d09023b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=ffbf95907039821b69dfe1607d1695b46af82e35

commit ffbf95907039821b69dfe1607d1695b46af82e35
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-02-17 11:12:02 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6994c9c0.19f2a.5d09023b>