aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-02-23 20:41:11 -0800
committerRob Landley <rob@landley.net>2019-02-23 23:49:30 -0600
commitf66ad669c46d8f8edf0328189075f54e6502618b (patch)
tree83d6424b6ff9000d2d367710d250a516c6a845b7
parent8a9484e8bfbfc8cd00f2f4f3fa2f249293fbea1d (diff)
downloadtoybox-f66ad669c46d8f8edf0328189075f54e6502618b.tar.gz
One last (for now) typo.
This one actually introduced by my last cleanup. (But helpfully pointed out by the machines when I tried to upload my last cleanup to the AOSP gerrit...)
-rw-r--r--toys/pending/host.c2
-rw-r--r--toys/pending/route.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/toys/pending/host.c b/toys/pending/host.c
index dea97b13..96daf8e8 100644
--- a/toys/pending/host.c
+++ b/toys/pending/host.c
@@ -13,7 +13,7 @@ config HOST
usage: host [-av] [-t TYPE] NAME [SERVER]
Perform DNS lookup on NAME, which can be a domain name to lookup,
- or an IPv4 dotted or IPv6 colon-seperated address to reverse lookup.
+ or an IPv4 dotted or IPv6 colon-separated address to reverse lookup.
SERVER (if present) is the DNS server to use.
-a no idea
diff --git a/toys/pending/route.c b/toys/pending/route.c
index 86e34422..55f26c25 100644
--- a/toys/pending/route.c
+++ b/toys/pending/route.c
@@ -394,7 +394,7 @@ static void ipv6_addr_formating(char *ptr, char *addr)
while (i <= IPV6_ADDR_LEN) {
if (!*ptr) {
if (i == IPV6_ADDR_LEN) {
- addr[IPV6_ADDR_LEN - 1] = 0; //NULL terminating the ':' seperated address.
+ addr[IPV6_ADDR_LEN - 1] = 0; //NULL terminating the ':' separated address.
break;
}
error_exit("IPv6 ip format error");