summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2ead168..9a3030b 100644
--- a/uisimulator/x11/io.c
+++ b/uisimulator/x11/io.c
@@ -123,9 +123,9 @@ int x11_creat(char *name, int mode)
sprintf(buffer, "%s%s", SIMULATOR_ARCHOS_ROOT, name);
debugf("We create the real file '%s'\n", buffer);
- return (creat)(buffer, mode);
+ return (creat)(buffer, 0666);
}
- return (creat)(name, mode);
+ return (creat)(name, 0666);
}
int x11_remove(char *name)