Skip to content

Commit 5f8ac01

Browse files
jimmycathytgross35
authored andcommitted
Fix typo in waitpid parameter name
Signed-off-by: jimmycathy <[email protected]> (backport <rust-lang#4334>) (cherry picked from commit 2c85704)
1 parent 05df979 commit 5f8ac01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vxworks/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ extern "C" {
17471747
pub fn getppid() -> pid_t;
17481748

17491749
// wait.h
1750-
pub fn waitpid(pid: pid_t, status: *mut c_int, optons: c_int) -> pid_t;
1750+
pub fn waitpid(pid: pid_t, status: *mut c_int, options: c_int) -> pid_t;
17511751

17521752
// unistd.h
17531753
pub fn sysconf(attr: c_int) -> c_long;

0 commit comments

Comments
 (0)