Skip to content

Commit 423d634

Browse files
committed
NetBSD: Fix the value of PT_SUSPEND
Link: https://github.com/NetBSD/src/blob/6ace5fed3bd010695a1b88ca6c1f8a5af7793ffb/sys/sys/ptrace.h#L62 (backport <#4782>) (cherry picked from commit 5e47663)
1 parent 04cd0d2 commit 423d634

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+1
-1
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1893,7 +1893,7 @@ pub const PT_GET_PROCESS_STATE: c_int = 18;
18931893
pub const PT_SET_SIGINFO: c_int = 19;
18941894
pub const PT_GET_SIGINFO: c_int = 20;
18951895
pub const PT_RESUME: c_int = 21;
1896-
pub const PT_SUSPEND: c_int = 23;
1896+
pub const PT_SUSPEND: c_int = 22;
18971897
pub const PT_STOP: c_int = 23;
18981898
pub const PT_LWPSTATUS: c_int = 24;
18991899
pub const PT_LWPNEXT: c_int = 25;

0 commit comments

Comments
 (0)