aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/fs/marfs/disklevel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-12-07 13:40:28 +0100
committerMarvin Borner2019-12-07 13:40:28 +0100
commitd94b024b73aeca06de417e0fd3c502495312a8b2 (patch)
treebff5cc1b757eeed7f58878cc13551c63464c5a31 /src/kernel/fs/marfs/disklevel.c
parent322167ceab19588473f9074e761390fdeb701790 (diff)
Added userspace libc and began userspace based shell
Diffstat (limited to 'src/kernel/fs/marfs/disklevel.c')
-rw-r--r--src/kernel/fs/marfs/disklevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/fs/marfs/disklevel.c b/src/kernel/fs/marfs/disklevel.c
index a902362..106540e 100644
--- a/src/kernel/fs/marfs/disklevel.c
+++ b/src/kernel/fs/marfs/disklevel.c
@@ -14,7 +14,7 @@ void marfs_format(void)
sb.s_first_chunk = 2 + sb.n_inodes;
// Write to disk
- marfs_writeSB(&sb);
+ marfs_write_superblock(&sb);
// Initialize the inodes
for (uint32_t i = 0; i < sb.n_inodes; i++) ata_clear28(interface, 2 + i);