summaryrefslogtreecommitdiff
path: root/uisimulator/x11/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/io.c')
-rw-r--r--uisimulator/x11/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/x11/io.c b/uisimulator/x11/io.c
index 2ead168b5e..9a3030ba35 100644
--- a/uisimulator/x11/io.c
+++ b/uisimulator/x11/io.c
@@ -123,9 +123,9 @@ int x11_creat(char *name, int mode)
123 sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name); 123 sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name);
124 124
125 debugf("We create the real file '%s'\n", buffer); 125 debugf("We create the real file '%s'\n", buffer);
126 return (creat)(buffer, mode); 126 return (creat)(buffer, 0666);
127 } 127 }
128 return (creat)(name, mode); 128 return (creat)(name, 0666);
129} 129}
130 130
131int x11_remove(char *name) 131int x11_remove(char *name)