shithub: riscv

Download patch

ref: be876a06ac0927faf9282e8847a87cef7c1a93be
parent: 58861fff63a8d2a89f6087b964140482337e3a9d
author: kvik <[email protected]>
date: Wed Sep 16 09:18:43 EDT 2020

syscall: don't append '\n' to the output

--- a/sys/src/cmd/syscall/syscall.c
+++ b/sys/src/cmd/syscall/syscall.c
@@ -131,7 +131,7 @@
 				fprint(2, "syscall: return %lld, no error\n", r);
 			}
 			if(oflag)
-				print("%s\n", buf);
+				print("%s", buf);
 			if(xflag){
 				for(j=0; j<r; j++){
 					if(j%16 == 0)