summaryrefslogtreecommitdiffstats
path: root/firmware/common/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/common/file.c')
-rw-r--r--firmware/common/file.c3
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];
static int flush_cache(int fd);
-int creat(const char *pathname, mode_t mode)
+int creat(const char *pathname)
{
- (void)mode;
return open(pathname, O_WRONLY|O_CREAT|O_TRUNC);
}