We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11a0024 commit f242078Copy full SHA for f242078
kernel/src/syscall/fs/pidfd.rs
@@ -22,7 +22,7 @@ pub fn sys_pidfd_open(pid: u32, flags: u32) -> AxResult<isize> {
22
let flags = PidFdFlags::from_bits(flags).ok_or(AxError::InvalidInput)?;
23
24
let fd = if flags.contains(PidFdFlags::THREAD) {
25
- PidFd::new_thread(&get_task(pid)?.as_thread())
+ PidFd::new_thread(get_task(pid)?.as_thread())
26
} else {
27
PidFd::new_process(&get_process_data(pid)?)
28
};
0 commit comments