From 8a727cecdbb6f4efcea3a1b98cc1463825bdc499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Tue, 12 Nov 2002 09:04:53 +0000 Subject: Fixed file creation test case for new flags. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2836 a1c6a512-1295-4272-9138-f99709370657 --- firmware/test/fat/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3