summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-11-12 09:04:53 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-11-12 09:04:53 +0000
commit8a727cecdbb6f4efcea3a1b98cc1463825bdc499 (patch)
tree5ba022f6091299ca868e6883bb6fd78842c22368
parent42510d9e783f72a4945019bdcec19b9b60156aa1 (diff)
Fixed file creation test case for new flags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2836 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/test/fat/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/test/fat/main.c b/firmware/test/fat/main.c
index ca288322d3..418f7b3e61 100644
--- a/firmware/test/fat/main.c
+++ b/firmware/test/fat/main.c
@@ -96,7 +96,7 @@ int dbg_mkfile(char* name, int num)
int x=0;
bool stop = false;
- fd = open(name,O_WRONLY);
+ fd = creat(name,O_WRONLY);
if (fd<0) {
DEBUGF("Failed creating file\n");
return -1;