From d73d711330104527e99f301fa7c9c4166c268b96 Mon Sep 17 00:00:00 2001 From: rtognimp Date: Fri, 10 Sep 2004 22:22:02 +0000 Subject: 100l sys_errlist[] is deprecated and breaks compilation on some systems, replaced it with strerror() also commented out the printf git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13307 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loader') diff --git a/loader/ext.c b/loader/ext.c index 018600be0b..e7c68ce071 100644 --- a/loader/ext.c +++ b/loader/ext.c @@ -534,8 +534,8 @@ LPVOID WINAPI VirtualAlloc(LPVOID address, DWORD size, DWORD type, DWORD protec } if(answer==(void*)-1) { - printf(" VirtualAlloc(...) mmap(0x%08X, %u, ...) failed with errno=%d (\"%s\")\n", - (unsigned)address, size, errno, sys_errlist[errno]); + /*printf(" VirtualAlloc(...) mmap(0x%08X, %u, ...) failed with errno=%d (\"%s\")\n", + (unsigned)address, size, errno, strerror(errno));*/ return NULL; } else -- cgit v1.2.3