diff options
Diffstat (limited to 'mbr')
| -rw-r--r-- | mbr/mbr.ha | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -53,6 +53,11 @@ export fn from(fd: io::file) (*mbr | nombr | io::error) = { return self; }; +export fn finish(self: *mbr) void = { + sector::finish(&self.bootsector_sec); + free(self); +}; + export fn partstream_reader(self: *mbr, entry: *entry) (io::limitstream | io::error) = { const fd = self.bootsector_sec.fd; const part = entry.lba_begin * sector::sector_length; |
