diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-11-12 09:04:53 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-11-12 09:04:53 +0000 |
commit | 8a727cecdbb6f4efcea3a1b98cc1463825bdc499 (patch) | |
tree | 5ba022f6091299ca868e6883bb6fd78842c22368 /firmware/test | |
parent | 42510d9e783f72a4945019bdcec19b9b60156aa1 (diff) | |
download | rockbox-8a727cecdbb6f4efcea3a1b98cc1463825bdc499.tar.gz rockbox-8a727cecdbb6f4efcea3a1b98cc1463825bdc499.zip |
Fixed file creation test case for new flags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2836 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test')
-rw-r--r-- | firmware/test/fat/main.c | 2 |
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) | |||
96 | int x=0; | 96 | int x=0; |
97 | bool stop = false; | 97 | bool stop = false; |
98 | 98 | ||
99 | fd = open(name,O_WRONLY); | 99 | fd = creat(name,O_WRONLY); |
100 | if (fd<0) { | 100 | if (fd<0) { |
101 | DEBUGF("Failed creating file\n"); | 101 | DEBUGF("Failed creating file\n"); |
102 | return -1; | 102 | return -1; |