diff options
author | Marvin Borner | 2021-07-05 18:00:17 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-05 18:00:17 +0200 |
commit | 4e5b18fb3284705904a2f15f790b8c15b5767fd0 (patch) | |
tree | 0034c491e0e95f0f7472ce86a0a0ff7725e816ef /src/loader/mbr.c | |
parent | 46ce42e9b13ce209c8c971084cfc849a83848270 (diff) |
Ext2 and fixes
Diffstat (limited to 'src/loader/mbr.c')
-rw-r--r-- | src/loader/mbr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/loader/mbr.c b/src/loader/mbr.c index 1ee298b..599952c 100644 --- a/src/loader/mbr.c +++ b/src/loader/mbr.c @@ -47,11 +47,12 @@ u8 mbr_detect(struct dev *dev) strlcpy(name, dev->name, sizeof(name)); name[3] = '0' + i; + log("[MBR] Found part %s\n", name); + // Saving space and everything u16 data = mbr_add_entry(entry) | (dev->id << 8); dev_register(DEV_DISK, name, data, mbr_read, NULL); - log("Found part %s%c\n", dev->name, '0' + i); } return 1; |