shithub: riscv

Download patch

ref: 631ed0a296fbb056a1be833377f734803de6aa14
parent: 5030429c62af894c32d0a78fd4f394020c8278dd
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 9 07:53:06 EST 2025

aux/realemu: don't put newline in sysfatal()

--- a/sys/src/cmd/aux/realemu/main.c
+++ b/sys/src/cmd/aux/realemu/main.c
@@ -372,7 +372,7 @@
 		off = (ulong)i << 16;
 		seek(realmemfd, off, 0);
 		if(readn(realmemfd, memory + off, 0x10000) != 0x10000)
-			sysfatal("read real mem %lux: %r\n", off);
+			sysfatal("read real mem %lux: %r", off);
 	}
 
 	cpu.ic = 0;
--