git: 9front

Download patch

ref: 371a06bcf74b94cc885ecf8b7b3aad84aa246b5f
parent: e19077161490d126bb5ed0aa6a4a44114380cb1c
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;
--