History log of /freebsd/lib/libc/gen/uexterr_format.c (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 72c84808 08-Jul-2025 Konstantin Belousov <kib@FreeBSD.org>

libc: only append exterr herald and text if exterr was recorded

__uexterr_format: return empty string on no error, instead of "No error"
err(): check for the first symbol of the exterr to decide if

libc: only append exterr herald and text if exterr was recorded

__uexterr_format: return empty string on no error, instead of "No error"
err(): check for the first symbol of the exterr to decide if there is
anything to print.

Requested and reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D51204

show more ...


# 283c1bd8 03-Jul-2025 Konstantin Belousov <kib@FreeBSD.org>

uexterr_format(): simplify output when ext error string is available

If the extended error string is provided by kernel, return only the
string, which is supposedly enough to identify exact cause of

uexterr_format(): simplify output when ext error string is available

If the extended error string is provided by kernel, return only the
string, which is supposedly enough to identify exact cause of the error.
If the string is not provided, print the technically looking gibberish
which still allows to identify location with kernel sources.

Reviewed by: asomers, brooks
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D51141

show more ...


Revision tags: release/14.3.0
# a56fe703 23-May-2025 Konstantin Belousov <kib@FreeBSD.org>

Provide user interface to retrieve reported extended errors

Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D50483