mach: Fix incoherency between perror and strerror
commit03ad444e8e086391f53d87c3949e0d44adef4bc3
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Aug 2022 11:52:46 +0000 (27 13:52 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Aug 2022 12:36:18 +0000 (27 14:36 +0200)
tree4c0e10d5b76d4b88b37ce2749c963b4f1e5a2834
parentd0e357ff45a75553dee3b17ed7d303bfa544f6fe
mach: Fix incoherency between perror and strerror

08d2024b4167 ("string: Simplify strerror_r") inadvertently made
__strerror_r print unknown error system in decimal while the original
code was printing it in hexadecimal. perror was kept printing in
hexadecimal in 725eeb4af14c ("string: Use tls-internal on strerror_l"),
let us keep both coherent.

This also fixes a duplicate ':'

Spotted by the libunistring testsuite test-perror2
sysdeps/mach/_strerror.c