git: 1f5dfc8da580 - stable/15 - libc/gen/err.c: remove 'extended error' herald from extended error output
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Jan 2026 01:25:28 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=1f5dfc8da5807e8f8973ad21e63f460441773744
commit 1f5dfc8da5807e8f8973ad21e63f460441773744
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-12-27 13:53:58 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-01-05 00:44:19 +0000
libc/gen/err.c: remove 'extended error' herald from extended error output
(cherry picked from commit 37ddbbe5535cb6c27b8a026b2f28d64319b9f802)
---
lib/libc/gen/err.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c
index 16cbe27693e7..793bf7522e42 100644
--- a/lib/libc/gen/err.c
+++ b/lib/libc/gen/err.c
@@ -120,7 +120,7 @@ vexterr(bool doexterr, int code, const char *fmt, va_list ap)
}
fprintf(err_file, "%s", strerror(code));
if (doexterr && extstatus == 0 && exterr[0] != '\0')
- fprintf(err_file, " (extended error %s)", exterr);
+ fprintf(err_file, " (%s)", exterr);
fprintf(err_file, "\n");
}