diff --git a/plugins/sndio/sndio-input.c b/plugins/sndio/sndio-input.c index e1e6bce038bf978c531fe81858bbbedd71a46d30..d586e6abfd069fab04efcc3c7719f1183199a889 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)