Typo.
authorcedric <cedric>
Mon, 8 Sep 2008 11:11:51 +0000 (11:11 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 8 Sep 2008 11:11:51 +0000 (11:11 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35883 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eet_lib.c

index 76e60df..60eacb8 100644 (file)
@@ -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);