Paul Sajna 7 years ago
parent
commit
211f95155a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/wait/src/lib.rs

+ 1 - 1
src/wait/src/lib.rs

@@ -11,7 +11,7 @@ use resource::rusage;
 
 #[no_mangle]
 pub unsafe extern "C" fn wait(stat_loc: *mut c_int) -> pid_t {
-    waitpid(0-1, stat_loc, 0)
+    waitpid(0 - 1, stat_loc, 0)
 }
 
 #[no_mangle]