Skip to content
Snippets Groups Projects
Commit d177b8e9 authored by Paul Sajna's avatar Paul Sajna
Browse files

requested change

parent 211f9515
No related branches found
No related tags found
1 merge request!74wait and waitpid
...@@ -11,7 +11,7 @@ use resource::rusage; ...@@ -11,7 +11,7 @@ use resource::rusage;
#[no_mangle] #[no_mangle]
pub unsafe extern "C" fn wait(stat_loc: *mut c_int) -> pid_t { pub unsafe extern "C" fn wait(stat_loc: *mut c_int) -> pid_t {
waitpid(0 - 1, stat_loc, 0) waitpid(!0, stat_loc, 0)
} }
#[no_mangle] #[no_mangle]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment