From f80421a76dfdebc853e773385c5933b12a56d643 Mon Sep 17 00:00:00 2001 From: Kurt Kartaltepe Date: Sun, 6 Dec 2020 13:37:29 -0800 Subject: [PATCH] sndio: remove strerror_l Replace it with the typical strerror for platforms that dont have full posix support (freebsd/clang). fixes #3835 --- plugins/sndio/sndio-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sndio/sndio-input.c b/plugins/sndio/sndio-input.c index e1e6bce0..d586e6ab 100644 --- a/plugins/sndio/sndio-input.c +++ b/plugins/sndio/sndio-input.c @@ -38,7 +38,7 @@ along with this program. If not, see . #define berr(level, msg, ...) \ do { \ - const char *errstr = strerror_l(errno, NULL); \ + const char *errstr = strerror(errno); \ blog(level, msg ": %s", ##__VA_ARGS__, errstr); \ } while (0) -- GitLab