diff options
Diffstat (limited to 'firmware/common')
| -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 e24b44c..830a7ee 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); } |