提交 f80421a7 编写于 作者: K Kurt Kartaltepe 提交者: Matt Gajownik

sndio: remove strerror_l

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

fixes #3835
上级 ebc0d6a5
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册