diff --git a/sortix/fs/initfs.cpp b/sortix/fs/initfs.cpp index 51260c8a..eeec274d 100644 --- a/sortix/fs/initfs.cpp +++ b/sortix/fs/initfs.cpp @@ -72,6 +72,7 @@ namespace Sortix this->name = name; this->buffer = buffer; this->buffersize = buffersize; + this->offset = 0; } DevInitFSFile::~DevInitFSFile()