Skip to content
Snippets Groups Projects
Commit d413571c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Fix the arguments order for strerror_s

parent 9bc33de3
No related branches found
No related tags found
No related merge requests found
Pipeline #15087 failed with stage
in 55 seconds
......@@ -211,7 +211,7 @@ static dvd_input_t file_open(void *priv, dvd_logger_cb *logcb,
#endif
#else
#if defined(HAVE_STRERR_S)
if(strerror_s(errno, buf, 256) != 0)
if(strerror_s(buf, 256, errno) != 0)
*buf=0;
#else
*buf=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment