diff options
author | Anton Kling <anton@kling.gg> | 2023-10-23 22:13:19 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-23 23:36:34 +0200 |
commit | e05d72ba8f09866b768f3da7776b807072ed7b9b (patch) | |
tree | dc9a1ec45802df7c74ddc9fdd78436b23122e44a /fs/shm.c | |
parent | 6458875860cde6421a06031702788d9969e0a5db (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |