From 987d15e7b255881f704866ea54f7281c16bbe31e Mon Sep 17 00:00:00 2001 From: qwx Date: Sun, 31 Oct 2021 22:48:20 +0000 Subject: [PATCH] tinc: fix typo in unknown host error message --- sys/src/cmd/ip/tinc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/ip/tinc.c b/sys/src/cmd/ip/tinc.c index 3e34c90b1..268bc4cb0 100644 --- a/sys/src/cmd/ip/tinc.c +++ b/sys/src/cmd/ip/tinc.c @@ -1669,7 +1669,7 @@ main(int argc, char *argv[]) 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)