New strerror-like function

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10043 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2001-05-31 22:39:16 +00:00
parent 070221a63a
commit b45f9f3970
24 changed files with 215 additions and 151 deletions

View file

@ -1082,7 +1082,7 @@ GSCheckTasks()
if (result < 0)
{
NSLog(@"waitpid %d, result %d, error %s",
_taskId, result, strerror(errno));
_taskId, result, GSLastErrorStr(errno));
[self _terminatedChild: -1];
}
else if (result == _taskId || (result > 0 && errno == 0))
@ -1112,7 +1112,7 @@ GSCheckTasks()
#ifdef WAITDEBUG
else
NSLog(@"waitpid %d, result %d, error %s",
_taskId, result, strerror(errno));
_taskId, result, GSLastErrorStr(errno));
#endif
}
}