Browse Source

riscv: turn off printing when checking stack address

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Ronald G. Minnich 3 years ago
parent
commit
5b44148ec9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sys/src/9/riscv/syscall.c

+ 1 - 1
sys/src/9/riscv/syscall.c

@@ -312,7 +312,7 @@ syscall(unsigned int scallnr, Ureg *ureg)
 		}
 
 		if(sp < (USTKTOP-BIGPGSZ) || sp > (USTKTOP-sizeof(up->arg)-BY2SE)){
-			print("check it\n");
+			//print("check it\n");
 			validaddr(UINT2PTR(sp), sizeof(up->arg)+BY2SE, 0);
 		}