summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina/eina_file.c')
-rw-r--r--src/lib/eina/eina_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index bc656233ac..0d9486568f 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -1261,7 +1261,7 @@ eina_file_close_from(int fd, int *except_fd)
1261#ifdef HAVE_DIRENT_H 1261#ifdef HAVE_DIRENT_H
1262 DIR *dir; 1262 DIR *dir;
1263 1263
1264 dir = opendir("/proc/sefl/fd"); 1264 dir = opendir("/proc/self/fd");
1265 if (!dir) dir = opendir("/dev/fd"); 1265 if (!dir) dir = opendir("/dev/fd");
1266 if (dir) 1266 if (dir)
1267 { 1267 {