diff --git a/sys/fs/fat/fat.c b/sys/fs/fat/fat.c index d5ae5a6..629be74 100644 --- a/sys/fs/fat/fat.c +++ b/sys/fs/fat/fat.c @@ -114,7 +114,7 @@ return (size); } -int write_fat(fileDescriptor_t *fd, char *data, uInt32 offset, long size) { +int write_fat(fileDescriptor_t *fd, char *data, off_t offset, long size) { FL_FILE *_file = (FL_FILE*) fd->res; kprintf("Writing: %i[%i]\n", size, offset); diff --git a/sys/fs/fat/fat_filelib.c b/sys/fs/fat/fat_filelib.c index 288c028..5c37840 100644 --- a/sys/fs/fat/fat_filelib.c +++ b/sys/fs/fat/fat_filelib.c @@ -862,8 +862,6 @@ if (file) { FL_LOCK(&_fs); - kprintf("fl_fclose: %s", file->filename); - // Flush un-written data to file fl_fflush(f);