Re: Un-sucking EINVAL (was: ip# on bridge members)

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 21 May 2025 22:27:36 UTC
--------
Brooks Davis writes:


> FWIW, I found it useful that we made SYSERRCAUSE take a format string.
> When debugging complicated mmap usage errors, [...]

The main problem with format strings is that then we need memory
(pre-)allocation.

My proposal gives up that level of precision in favor of simplicity
and minimum performance impact.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.