summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ip
diff options
context:
space:
mode:
authorqwx <qwx@sciops.net>2021-10-31 22:48:20 +0000
committerqwx <qwx@sciops.net>2021-10-31 22:48:20 +0000
commit987d15e7b255881f704866ea54f7281c16bbe31e (patch)
tree28719a84a43e98b945b25aacf25175cb4894ea14 /sys/src/cmd/ip
parent023882f0a416671dac2a84b3c821e2475ac0f67d (diff)
tinc: fix typo in unknown host error message
Diffstat (limited to 'sys/src/cmd/ip')
-rw-r--r--sys/src/cmd/ip/tinc.c2
1 files changed, 1 insertions, 1 deletions
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)