summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/eet/eet_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index e32fcc06fe..3ad086634a 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -1477,8 +1477,8 @@ eet_mmap(const Eina_File *file)
1477 ef->sha1_length = 0; 1477 ef->sha1_length = 0;
1478 ef->readfp_owned = EINA_TRUE; 1478 ef->readfp_owned = EINA_TRUE;
1479 1479
1480 ef->data_size = eina_file_size_get(file); 1480 ef->data_size = eina_file_size_get(ef->readfp);
1481 ef->data = eina_file_map_all(file, EINA_FILE_SEQUENTIAL); 1481 ef->data = eina_file_map_all(ef->readfp, EINA_FILE_SEQUENTIAL);
1482 if (eet_test_close((ef->data == NULL), ef)) 1482 if (eet_test_close((ef->data == NULL), ef))
1483 goto on_error; 1483 goto on_error;
1484 1484