diff --git a/src/sys/ptrace.rs b/src/sys/ptrace.rs index bf6ee8bb82..735092e6a4 100644 --- a/src/sys/ptrace.rs +++ b/src/sys/ptrace.rs @@ -79,7 +79,7 @@ pub fn ptrace(request: ptrace::PtraceRequest, pid: pid_t, addr: *mut c_void, dat match request { PTRACE_PEEKTEXT | PTRACE_PEEKDATA | PTRACE_PEEKUSER => ptrace_peek(request, pid, addr, data), - PTRACE_GETSIGINFO | PTRACE_GETEVENTMSG | PTRACE_SETSIGINFO | PTRACE_SETOPTIONS => Err(Error::UnsupportedOperation), + PTRACE_GETSIGINFO | PTRACE_GETEVENTMSG | PTRACE_SETSIGINFO => Err(Error::UnsupportedOperation), _ => ptrace_other(request, pid, addr, data) } }