code: plan9front

Download patch

ref: 3f8c15b01d2688cbb5b1d6a323b76c890647f228
parent: 44fae0b28cb1a66a3becb5528f7813ac42bc7696
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 12 15:48:07 EST 2022

cwfs: add missing \n in error print

--- a/sys/src/cmd/cwfs/net.c
+++ b/sys/src/cmd/cwfs/net.c
@@ -99,7 +99,7 @@
 		if(net->dialstr == nil)
 			continue;
 		if((net->annfd = announce(net->dialstr, net->anndir)) < 0){
-			fprint(2, "can't announce %s: %r", net->dialstr);
+			fprint(2, "can't announce %s: %r\n", net->dialstr);
 			net->dialstr = nil;
 			continue;
 		}