s/creat/open/

SVN revision: 80630
This commit is contained in:
Mike Blumenkrantz 2012-12-11 08:44:05 +00:00
parent 370ba1b3fe
commit c4115615f0
1 changed files with 1 additions and 1 deletions

View File

@ -9216,7 +9216,7 @@ _e_fm2_new_file_thread(void *data __UNUSED__, Ecore_Thread *eth)
errno = 0;
if (stat(buf, &st) && (errno == ENOENT))
{
fd = creat(buf, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR | S_IWUSR);
fd = open(buf, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR | S_IWUSR);
if (fd)
{
close(fd);