[libdvdnav-devel] [Git][videolan/libdvdread][master] Fix the arguments order for strerror_s

Jean-Baptiste Kempf gitlab at videolan.org
Thu Mar 5 20:18:56 CET 2020



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread


Commits:
d413571c by Jean-Baptiste Kempf at 2020-03-05T20:18:36+01:00
Fix the arguments order for strerror_s

- - - - -


1 changed file:

- src/dvd_input.c


Changes:

=====================================
src/dvd_input.c
=====================================
@@ -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;



View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/d413571ce39acd404523b6742ba361215f6ada68

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/d413571ce39acd404523b6742ba361215f6ada68
You're receiving this email because of your account on code.videolan.org.




More information about the libdvdnav-devel mailing list