diff --git a/sys/fs/fat/fat.c b/sys/fs/fat/fat.c index c9f2a0d..54db354 100644 --- a/sys/fs/fat/fat.c +++ b/sys/fs/fat/fat.c @@ -118,7 +118,7 @@ FL_FILE *_file = (FL_FILE*) fd->res; kprintf("Writing: %i[%i]\n", size, offset); - fl_fseek(_file, offset, 0); + // XXX this is not supposed to happen fl_fseek(_file, offset, 0); if (fl_fwrite(data, 1, size, _file) != size) kprintf("ERROR: Write file failed\n");