Skip to content

Commit 13478d0

Browse files
committed
Auto merge of #729 - Susurrus:ptrace_request, r=alexcrichton
Fix spelling of ptrace's request argument Couldn't handle seeing this anymore after working on a ptrace API for `nix`!
2 parents 60e5745 + 800dbfd commit 13478d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@ extern {
17421742
target: *const ::c_char,
17431743
flags: ::c_int,
17441744
data: *mut ::c_void) -> ::c_int;
1745-
pub fn ptrace(requeset: ::c_int,
1745+
pub fn ptrace(request: ::c_int,
17461746
pid: ::pid_t,
17471747
addr: *mut ::c_char,
17481748
data: ::c_int) -> ::c_int;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ extern {
798798
flags: ::c_int,
799799
data: *mut ::c_void,
800800
size: ::size_t) -> ::c_int;
801-
pub fn ptrace(requeset: ::c_int,
801+
pub fn ptrace(request: ::c_int,
802802
pid: ::pid_t,
803803
addr: *mut ::c_void,
804804
data: ::c_int) -> ::c_int;

0 commit comments

Comments
 (0)