From c853eda9b3f05685f29290913cbf8e639b47aedb Mon Sep 17 00:00:00 2001 From: chyyuu Date: Fri, 26 Apr 2019 18:58:42 +0800 Subject: [PATCH] disable so many wait4 LOG info --- kernel/src/syscall/proc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/syscall/proc.rs b/kernel/src/syscall/proc.rs index 046391b..c58f8b8 100644 --- a/kernel/src/syscall/proc.rs +++ b/kernel/src/syscall/proc.rs @@ -62,7 +62,7 @@ pub fn sys_clone( /// Wait for the process exit. /// Return the PID. Store exit code to `wstatus` if it's not null. pub fn sys_wait4(pid: isize, wstatus: *mut i32) -> SysResult { - info!("wait4: pid: {}, code: {:?}", pid, wstatus); + //info!("wait4: pid: {}, code: {:?}", pid, wstatus); if !wstatus.is_null() { process().vm.check_write_ptr(wstatus)?; }