# HG changeset patch # User rtognimp # Date 1094854922 0 # Node ID 405b0afcc6512243e27d566565df39289e926903 # Parent 90ffe76b5b2565aba70858f676e6037a0da37756 100l sys_errlist[] is deprecated and breaks compilation on some systems, replaced it with strerror() also commented out the printf diff -r 90ffe76b5b25 -r 405b0afcc651 loader/ext.c --- a/loader/ext.c Fri Sep 10 20:53:22 2004 +0000 +++ b/loader/ext.c Fri Sep 10 22:22:02 2004 +0000 @@ -534,8 +534,8 @@ } 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