]> git.proxmox.com Git - mirror_zfs.git/commit
Fallback to strerror() when strerror_l() isn't available
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 12 Oct 2024 20:48:56 +0000 (13:48 -0700)
committerGitHub <noreply@github.com>
Sat, 12 Oct 2024 20:48:56 +0000 (13:48 -0700)
commit48dfe3974710aa9807980852aa5f46e1c311c579
treebbeea0e89baee17aa9bc662e5d04cd48487a30f0
parent97ba7c210c8fc3c4cd7d6687e07906ff59cf5327
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