changeset 13306:405b0afcc651

100l sys_errlist[] is deprecated and breaks compilation on some systems, replaced it with strerror() also commented out the printf
author rtognimp
date Fri, 10 Sep 2004 22:22:02 +0000
parents 90ffe76b5b25
children b94f228dfed6
files loader/ext.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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