Add %m to printf & fix CI

%m is a format specifier that prints an error string for errno. The
specifier is technically only for syslog, but musl and glibc implement
it for printf itself. Parsing for a single specifier in a single
function is error prone, especially when syslog itself is variadic.
This commit is contained in:
Josh Megnauth
2025-08-05 23:59:33 -04:00
parent 710911febb
commit 728fb55203
6 changed files with 25 additions and 3 deletions
@@ -67,6 +67,8 @@ printed: test string, value: 11
printed: test string 2, value: 13
printed: test string 2, value: 13
%m: Owner died
C23:
Binary %b: 100
Binary %b alternate: 0b100