diff options
Diffstat (limited to 'firmware/common/file.c')
-rw-r--r-- | firmware/common/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/common/file.c b/firmware/common/file.c index e24b44ce1f..830a7eef8a 100644 --- a/firmware/common/file.c +++ b/firmware/common/file.c | |||
@@ -52,9 +52,8 @@ static struct filedesc openfiles[MAX_OPEN_FILES]; | |||
52 | 52 | ||
53 | static int flush_cache(int fd); | 53 | static int flush_cache(int fd); |
54 | 54 | ||
55 | int creat(const char *pathname, mode_t mode) | 55 | int creat(const char *pathname) |
56 | { | 56 | { |
57 | (void)mode; | ||
58 | return open(pathname, O_WRONLY|O_CREAT|O_TRUNC); | 57 | return open(pathname, O_WRONLY|O_CREAT|O_TRUNC); |
59 | } | 58 | } |
60 | 59 | ||