Skip to content

Commit f75215d

Browse files
sys_mkdir: fix wrong parameters
Signed-off-by: Andy-Python-Programmer <[email protected]>
1 parent 70a0917 commit f75215d

File tree

1 file changed

+1
-1
lines changed
  • src/aero_kernel/src/syscall

1 file changed

+1
-1
lines changed

src/aero_kernel/src/syscall/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ pub fn generic_do_syscall(
215215
SYS_IPC_BECOME_ROOT => ipc::become_root(),
216216

217217
// Syscall aliases (this should be handled in aero_syscall)
218-
SYS_MKDIR => fs::mkdirat(aero_syscall::AT_FDCWD as _, c, d),
218+
SYS_MKDIR => fs::mkdirat(aero_syscall::AT_FDCWD as _, b, c),
219219

220220
_ => {
221221
log::error!("invalid syscall: {:#x}", a);

0 commit comments

Comments
 (0)