summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-05 22:48:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-05 22:48:34 +0000
commit7d2f8e7063be240c11a56c7dbdda4a033f81b49d (patch)
treeb8af41f43f70a056899e169fa8a4226a0f76831a /uisimulator
parented87c774f8e7e7975b040582641621480657d94b (diff)
downloadrockbox-7d2f8e7063be240c11a56c7dbdda4a033f81b49d.tar.gz
rockbox-7d2f8e7063be240c11a56c7dbdda4a033f81b49d.zip
Set a mode that makes sense as the Rockbox code doesn't use modes...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3386 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-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)
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)