diff --git a/src/core/lib/utils/memory.c b/src/core/lib/utils/memory.c
index 2a6c2ff..14c1cc0 100644
--- a/src/core/lib/utils/memory.c
+++ b/src/core/lib/utils/memory.c
@@ -155,7 +155,7 @@ void *why2_fdopen(int file, char *modes)
 {
     void *opened = fdopen(file, modes);
 
-    push_to_list(opened, OPEN);
+    push_to_list(opened, FOPEN);
 
     return opened;
 }