git: 9front

Download patch

ref: 07feb20b191c41475358f3401027f80944a958d8
parent: bc6838ca51405a50ec9f59abce584e974c5bb5f4
author: qwx <qwx@sciops.net>
date: Sun Oct 31 18:48:20 EDT 2021

tinc: fix typo in unknown host error message

--- a/sys/src/cmd/ip/tinc.c
+++ b/sys/src/cmd/ip/tinc.c
@@ -1669,7 +1669,7 @@
 
 	for(i = 0; i < argc; i++){
 		if((h = gethost(argv[i], 0)) == nil)
-			sysfatal("unknown host: %s", *argv);
+			sysfatal("unknown host: %s", argv[i]);
 		if(h == myhost)
 			sysfatal("will not connect to myself");
 		if(h->rsapub == nil)
--