Diego Biurrun
2011-10-22 14:54:24 UTC
Both functions are available on Cygwin and MinGW nowadays so there is
no need to be inconsistent anymore.
---
src/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/device.c b/src/device.c
index 98507f4..46a936a 100644
--- a/src/device.c
+++ b/src/device.c
@@ -511,7 +511,7 @@ static int libc_open ( dvdcss_t dvdcss, char const *psz_device )
static int win2k_open ( dvdcss_t dvdcss, char const *psz_device )
{
char psz_dvd[7];
- _snprintf( psz_dvd, 7, "\\\\.\\%c:", psz_device[0] );
+ snprintf( psz_dvd, 7, "\\\\.\\%c:", psz_device[0] );
/* To work around an M$ bug in IOCTL_DVD_READ_STRUCTURE, we need read
* _and_ write access to the device (so we can make SCSI Pass Through
no need to be inconsistent anymore.
---
src/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/device.c b/src/device.c
index 98507f4..46a936a 100644
--- a/src/device.c
+++ b/src/device.c
@@ -511,7 +511,7 @@ static int libc_open ( dvdcss_t dvdcss, char const *psz_device )
static int win2k_open ( dvdcss_t dvdcss, char const *psz_device )
{
char psz_dvd[7];
- _snprintf( psz_dvd, 7, "\\\\.\\%c:", psz_device[0] );
+ snprintf( psz_dvd, 7, "\\\\.\\%c:", psz_device[0] );
/* To work around an M$ bug in IOCTL_DVD_READ_STRUCTURE, we need read
* _and_ write access to the device (so we can make SCSI Pass Through
--
1.7.3.4
1.7.3.4