Fix mismatch functionally for temporary file name

This commit is contained in:
OBATA Akio 2021-10-08 17:30:48 +09:00
parent 2390217a75
commit bbf4d451d9
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ GetTmpPath( char *path )
if( *sp == '/' ) *sp-- = '\0' ;
sprintf( sp+1, "/%s", TEMPFILEKEY ) ;
/* Get temporary file name */
return mkstemp( buf );
return mktemp( buf );
}