summaryrefslogtreecommitdiffstats
path: root/libdha/sysdep/libdha_win32.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-27 07:49:14 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-27 07:49:14 +0000
commit41bfa3e8e0a1b9cbb44e36b7aca4f56b90e97be7 (patch)
tree060a303452647d8deb31be7f4db5b5bc08c76742 /libdha/sysdep/libdha_win32.c
parent55859c930cd4d584bf0bed7bbafcfe574329bb55 (diff)
downloadmpv-41bfa3e8e0a1b9cbb44e36b7aca4f56b90e97be7.tar.bz2
mpv-41bfa3e8e0a1b9cbb44e36b7aca4f56b90e97be7.tar.xz
Change some printf calls to fprintf.
based on a patch by Attila Ötvös, oattila,,@,,chello,,.,,hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17972 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/sysdep/libdha_win32.c')
-rw-r--r--libdha/sysdep/libdha_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdha/sysdep/libdha_win32.c b/libdha/sysdep/libdha_win32.c
index 5f325dd532..0a151b0637 100644
--- a/libdha/sysdep/libdha_win32.c
+++ b/libdha/sysdep/libdha_win32.c
@@ -85,7 +85,7 @@ void *map_phys_mem(unsigned long base, unsigned long size) {
dhahelper_priv.base = base;
if(hDriver==INVALID_HANDLE_VALUE)hDriver = CreateFile("\\\\.\\DHAHELPER",GENERIC_READ | GENERIC_WRITE,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
if (!DeviceIoControl(hDriver, IOCTL_DHAHELPER_MAPPHYSTOLIN, &dhahelper_priv,sizeof(dhahelper_t), &dhahelper_priv, sizeof(dhahelper_t),&dwBytesReturned, NULL)){
- printf("unable to map thre requested memory region\n");
+ fprintf(stderr,"Unable to map the requested memory region.\n");
return NULL;
}
else return dhahelper_priv.ptr;