Skip to content

Commit d0fa32f

Browse files
committed
Unbreak ptrace_setoptions (refs #614)
1 parent cf87969 commit d0fa32f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/ptrace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub fn ptrace(request: ptrace::PtraceRequest, pid: pid_t, addr: *mut c_void, dat
7979

8080
match request {
8181
PTRACE_PEEKTEXT | PTRACE_PEEKDATA | PTRACE_PEEKUSER => ptrace_peek(request, pid, addr, data),
82-
PTRACE_GETSIGINFO | PTRACE_GETEVENTMSG | PTRACE_SETSIGINFO | PTRACE_SETOPTIONS => Err(Error::UnsupportedOperation),
82+
PTRACE_GETSIGINFO | PTRACE_GETEVENTMSG | PTRACE_SETSIGINFO => Err(Error::UnsupportedOperation),
8383
_ => ptrace_other(request, pid, addr, data)
8484
}
8585
}

0 commit comments

Comments
 (0)