From c4115615f0b627555d3cebd4d29f466f11497c09 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 11 Dec 2012 08:44:05 +0000 Subject: [PATCH] s/creat/open/ SVN revision: 80630 --- src/bin/e_fm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 1d3313446..9167d84f5 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -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);