summaryrefslogtreecommitdiff
path: root/fs/shm.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-23 22:13:19 +0200
committerAnton Kling <anton@kling.gg>2023-10-23 23:36:34 +0200
commite05d72ba8f09866b768f3da7776b807072ed7b9b (patch)
treedc9a1ec45802df7c74ddc9fdd78436b23122e44a /fs/shm.c
parent6458875860cde6421a06031702788d9969e0a5db (diff)
VFS/libc: Create a syscall for mkdir and add the function to libc
Diffstat (limited to 'fs/shm.c')
-rw-r--r--fs/shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/shm.c b/fs/shm.c
index 00f8dfb..8668c9a 100644
--- a/fs/shm.c
+++ b/fs/shm.c
@@ -64,7 +64,7 @@ int shm_open(const char *name, int oflag, mode_t mode) {
vfs_create_inode(0 /*inode_num*/, 0 /*type*/, 1 /*has_data*/,
1 /*can_write*/, 1 /*is_open*/, internal_object,
0 /*file_size*/, NULL /*open*/, NULL /*create_file*/,
- shm_read, shm_write, NULL /*close*/, shm_get_vm_object);
+ shm_read, shm_write, NULL /*close*/, NULL/*create_directory*/, shm_get_vm_object);
vfs_fd_t *fd_ptr;
int fd = vfs_create_fd(oflag, mode, inode, &fd_ptr);