summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl/interfaces/efl_file.c')
-rw-r--r--src/lib/efl/interfaces/efl_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_file.c b/src/lib/efl/interfaces/efl_file.c
index 3acdc17ce8..67619039c9 100644
--- a/src/lib/efl/interfaces/efl_file.c
+++ b/src/lib/efl/interfaces/efl_file.c
@@ -40,7 +40,7 @@ _efl_file_load(Eo *obj, Efl_File_Data *pd)
40 { 40 {
41 Eina_File *f; 41 Eina_File *f;
42 f = eina_file_open(pd->vpath, EINA_FALSE); 42 f = eina_file_open(pd->vpath, EINA_FALSE);
43 if (!f) return errno; 43 if (!f) return errno ?: ENOENT;
44 pd->file_opened = EINA_TRUE; 44 pd->file_opened = EINA_TRUE;
45 pd->setting = 1; 45 pd->setting = 1;
46 ret = efl_file_mmap_set(obj, f); 46 ret = efl_file_mmap_set(obj, f);