diff --git a/kernel/src/filesystem/vfs/syscall.rs b/kernel/src/filesystem/vfs/syscall.rs index bfebd08b5..bd885b848 100644 --- a/kernel/src/filesystem/vfs/syscall.rs +++ b/kernel/src/filesystem/vfs/syscall.rs @@ -1077,7 +1077,7 @@ impl Syscall { /// - `cmd`:命令 /// - `arg`:参数 pub fn fcntl(fd: i32, cmd: FcntlCommand, arg: i32) -> Result { - kdebug!("fcntl ({cmd:?}) fd: {fd}, arg={arg}"); + // kdebug!("fcntl ({cmd:?}) fd: {fd}, arg={arg}"); match cmd { FcntlCommand::DupFd | FcntlCommand::DupFdCloexec => { if arg < 0 || arg as usize >= FileDescriptorVec::PROCESS_MAX_FD {