sndio: remove strerror_l

Replace it with the typical strerror for platforms that dont have full
posix support (freebsd/clang).

fixes #3835
master
Kurt Kartaltepe 2020-12-06 13:37:29 -08:00 committed by Matt Gajownik
parent ebc0d6a500
commit f80421a76d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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)