summaryrefslogtreecommitdiffhomepage
path: root/src/loader/fs
diff options
context:
space:
mode:
authorMarvin Borner2021-07-06 22:07:04 +0200
committerMarvin Borner2021-07-06 22:07:04 +0200
commitb2880945ae17ad857bd425540acd3dc75b2cff6b (patch)
treef5dea0028fb5e2b9072aa15f60c497bc7e20d13b /src/loader/fs
parent23aa6f84539ba320a91235fb81681d0754178f62 (diff)
Basic multiboot 1 detection and verification
Diffstat (limited to 'src/loader/fs')
-rw-r--r--src/loader/fs/ext2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/fs/ext2.c b/src/loader/fs/ext2.c
index a7d4662..72fd3c0 100644
--- a/src/loader/fs/ext2.c
+++ b/src/loader/fs/ext2.c
@@ -195,7 +195,7 @@ u8 ext2_detect(struct dev *dev)
if (sb.magic != EXT2_MAGIC)
return 0;
- dev->fs.read = ext2_read;
+ dev->p.disk.fs.read = ext2_read;
return 1;
}