Skip to content

Commit 0cea762

Browse files
authored
Merge pull request #4334 from jimmycathy/main
Fix typo in waitpid parameter name
2 parents d252fc6 + 2c85704 commit 0cea762

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
@@ -1758,7 +1758,7 @@ extern "C" {
17581758
pub fn getppid() -> pid_t;
17591759

17601760
// wait.h
1761-
pub fn waitpid(pid: pid_t, status: *mut c_int, optons: c_int) -> pid_t;
1761+
pub fn waitpid(pid: pid_t, status: *mut c_int, options: c_int) -> pid_t;
17621762

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

0 commit comments

Comments
 (0)