From b2880945ae17ad857bd425540acd3dc75b2cff6b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 6 Jul 2021 22:07:04 +0200 Subject: Basic multiboot 1 detection and verification --- src/loader/fs/ext2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/loader/fs/ext2.c') 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; } -- cgit v1.2.3