Skip to content

Commit 2c85704

Browse files
committed
Fix typo in waitpid parameter name
Signed-off-by: jimmycathy <[email protected]>
1 parent c6a3cd6 commit 2c85704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vxworks/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ extern "C" {
17251725
pub fn getppid() -> pid_t;
17261726

17271727
// wait.h
1728-
pub fn waitpid(pid: pid_t, status: *mut c_int, optons: c_int) -> pid_t;
1728+
pub fn waitpid(pid: pid_t, status: *mut c_int, options: c_int) -> pid_t;
17291729

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

0 commit comments

Comments
 (0)