summaryrefslogtreecommitdiff
path: root/src/kernel/vfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vfs')
-rw-r--r--src/kernel/vfs/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/vfs/mount.c b/src/kernel/vfs/mount.c
index 37bfe63..b6b3e8d 100644
--- a/src/kernel/vfs/mount.c
+++ b/src/kernel/vfs/mount.c
@@ -3,8 +3,8 @@
#include <kernel/vfs/mount.h>
struct vfs_mount *vfs_mount_seed(void) {
- struct vfs_mount *mount = kmalloc(sizeof(struct vfs_mount));
- struct vfs_backend *backend = kmalloc(sizeof(struct vfs_backend));
+ struct vfs_mount *mount = kmalloc(sizeof *mount);
+ struct vfs_backend *backend = kmalloc(sizeof *backend);
backend->type = VFS_BACK_ROOT;
*mount = (struct vfs_mount){
.prev = NULL,