From: cedric Date: Mon, 8 Sep 2008 11:11:51 +0000 (+0000) Subject: Typo. X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~610 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=607996fcff19ceb283cfb0c145f569da014c494c;p=profile%2Fivi%2Feet.git Typo. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35883 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index 76e60df..60eacb8 100644 --- a/src/lib/eet_lib.c +++ b/src/lib/eet_lib.c @@ -390,7 +390,7 @@ eet_flush2(Eet_File *ef) int fd; unlink(ef->path); - fd = open(file, O_CREAT | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); + fd = open(ef->path, O_CREAT | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); ef->fp = fdopen(fd, "wb"); if (!ef->fp) return EET_ERROR_NOT_WRITABLE; fcntl(fileno(ef->fp), F_SETFD, FD_CLOEXEC);