Fallback to strerror() when strerror_l() isn't available
commit56871e465a9aee71b532d20c58853c75190257ef
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 12 Oct 2024 20:48:56 +0000 (12 13:48 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 14 Oct 2024 02:25:58 +0000 (13 19:25 -0700)
tree6877fcc85f7bcd9d8a7e6117bae95be137f1cc77
parentc645b07eaa0e1def37ffe00d63e5835e8b13742d
Fallback to strerror() when strerror_l() isn't available

Some C libraries, such as uClibc, do not provide strerror_l() in
which case we fallback to strerror().

Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #16636
Closes #16640
config/user.m4
include/libzutil.h