diff options
-rw-r--r-- | libdha/pci.c | 2 | ||||
-rw-r--r-- | libdha/sysdep/libdha_win32.c | 2 | ||||
-rw-r--r-- | libdha/sysdep/pci_win32.c | 2 | ||||
-rw-r--r-- | libmpcodecs/mp_image.h | 2 | ||||
-rw-r--r-- | sub_cc.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/libdha/pci.c b/libdha/pci.c index 6e2c3fc7b2..474625a68a 100644 --- a/libdha/pci.c +++ b/libdha/pci.c @@ -717,7 +717,7 @@ int pci_config_read(unsigned char bus, unsigned char dev, unsigned char func, if (len != 4) { - printf("pci_config_read: reading non-dword not supported!\n"); + fprintf(stderr,"pci_config_read: Reading non-dword not supported!\n"); return(ENOTSUP); } 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; diff --git a/libdha/sysdep/pci_win32.c b/libdha/sysdep/pci_win32.c index a4a08077eb..5dc1841d24 100644 --- a/libdha/sysdep/pci_win32.c +++ b/libdha/sysdep/pci_win32.c @@ -20,7 +20,7 @@ static __inline__ int enable_os_io(void) DWORD dwBytesReturned; hDriver = CreateFile("\\\\.\\DHAHELPER",GENERIC_READ | GENERIC_WRITE,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); if(!DeviceIoControl(hDriver, IOCTL_DHAHELPER_ENABLEDIRECTIO, NULL,0, NULL, 0, &dwBytesReturned, NULL)){ - printf("unable to enable directio please install dhahelper.sys\n"); + fprintf(stderr,"Unable to enable directio please install dhahelper.sys.\n"); return(1); } } diff --git a/libmpcodecs/mp_image.h b/libmpcodecs/mp_image.h index 39dd0cdc26..eb019a20ee 100644 --- a/libmpcodecs/mp_image.h +++ b/libmpcodecs/mp_image.h @@ -202,7 +202,7 @@ static inline void mp_image_setfmt(mp_image_t* mpi,unsigned int out_fmt){ mpi->chroma_y_shift=1; return; } - printf("mp_image: Unknown out_fmt: 0x%X\n",out_fmt); + fprintf(stderr,"mp_image: unknown out_fmt: 0x%X\n",out_fmt); mpi->bpp=0; } #endif @@ -100,7 +100,7 @@ static void append_char(char c) { if(cursor_pos==CC_MAX_LINE_LENGTH-1) { - printf("sub_cc.c: append_char() reached CC_MAX_LINE_LENGTH!\n"); + fprintf(stderr,"sub_cc.c: append_char() reached CC_MAX_LINE_LENGTH!\n"); return; } bb->text[bb->lines - 1][cursor_pos++]=c; |