shithub: riscv

Download patch

ref: a2ab8fbc59a37a887569127f8cc6338b000d37e2
parent: 452f0de5d8ede68eed0df065366fb9425a19c307
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 9 08:03:44 EST 2025

games/galaxy: don't put newline in sysfatal()

--- a/sys/src/games/galaxy/simulate.c
+++ b/sys/src/games/galaxy/simulate.c
@@ -54,15 +54,15 @@
 
 	golock = calloc(extraproc, sizeof(*golock));
 	if(golock == nil)
-		sysfatal("Could not create go locks: %r\n");
+		sysfatal("Could not create go locks: %r");
 
 	gorend = calloc(extraproc, sizeof(*gorend));
 	if(gorend == nil)
-		sysfatal("Could not create go rendez: %r\n");
+		sysfatal("Could not create go rendez: %r");
 
 	go = calloc(extraproc, sizeof(*go));
 	if(go == nil)
-		sysfatal("Could not create go flags: %r\n");
+		sysfatal("Could not create go flags: %r");
 
 	for(pid = 0; pid < extraproc; pid++)
 		gorend[pid].l = golock+pid;
--