--- deliantra/server/common/image.C 2006/08/29 08:01:35 1.2 +++ deliantra/server/common/image.C 2006/08/30 16:30:36 1.3 @@ -1,6 +1,6 @@ /* * static char *rcsid_image_c = - * "$Id: image.C,v 1.2 2006/08/29 08:01:35 root Exp $"; + * "$Id: image.C,v 1.3 2006/08/30 16:30:36 root Exp $"; */ /* @@ -147,7 +147,7 @@ sprintf(buf,"%s/faces", settings.datadir); LOG(llevDebug,"Reading faces from %s...",buf); if ((fp=fopen(buf,"r"))==NULL) { - LOG(llevError, "Cannot open faces file %s: %s\n", buf, strerror_local(errno)); + LOG(llevError, "Cannot open faces file %s: %s\n", buf, strerror(errno)); exit(-1); } while (fgets(buf, MAX_BUF, fp)!=NULL) { @@ -213,7 +213,7 @@ sprintf (buf,"%s/bmaps", settings.datadir); LOG(llevDebug,"Reading bmaps from %s...",buf); if ((fp=fopen(buf,"r"))==NULL) { - LOG(llevError, "Cannot open bmaps file %s: %s\n", buf, strerror_local(errno)); + LOG(llevError, "Cannot open bmaps file %s: %s\n", buf, strerror(errno)); exit(-1); } @@ -349,7 +349,7 @@ sprintf (buf,"%s/smooth", settings.datadir); LOG(llevDebug,"Reading smooth from %s...",buf); if ((fp=fopen(buf,"r"))==NULL) { - LOG(llevError, "Cannot open smooth file %s: %s\n", strerror_local(errno)); + LOG(llevError, "Cannot open smooth file %s: %s\n", strerror(errno)); exit(-1); }