Fixed typo

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3637 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-02-01 15:24:53 +00:00
parent 713a3fc12c
commit bcd0eaabda

View file

@ -507,7 +507,7 @@ failure:
strcpy(thePath, theRealPath);
strcat(thePath, "XXXXXX");
if ((desc = mktemp(thePath)) < 0)
if ((desc = mkstemp(thePath)) < 0)
{
NSLog(@"mkstemp (%s) failed - %s", thePath, strerror(errno));
goto failure;