summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2017-11-27 16:53:05 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2017-11-27 16:53:05 +0000
commit1ead5edeb3f531e81df4e1ec9e0608ec27cb1645 (patch)
treef2ff04927d40eae1fbae793729c49f112798fb68 /sys
parentd33b112de139cdaffd3f35d8e5b71b6fabd00b71 (diff)
lenght->length, mostly in comments
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_oce.c4
-rw-r--r--sys/net/fq_codel.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_oce.c b/sys/dev/pci/if_oce.c
index 2ddbe0576b2..55da2fff1f2 100644
--- a/sys/dev/pci/if_oce.c
+++ b/sys/dev/pci/if_oce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_oce.c,v 1.99 2017/01/22 10:17:38 dlg Exp $ */
+/* $OpenBSD: if_oce.c,v 1.100 2017/11/27 16:53:04 sthen Exp $ */
/*
* Copyright (c) 2012 Mike Belopuhov
@@ -2853,7 +2853,7 @@ oce_cmd(struct oce_softc *sc, int subsys, int opcode, int version,
memcpy(payload, &mbx->pld.data, length);
} else
printf("%s: mailbox timeout, subsys %d op %d ver %d "
- "%spayload lenght %d\n", sc->sc_dev.dv_xname, subsys,
+ "%spayload length %d\n", sc->sc_dev.dv_xname, subsys,
opcode, version, epayload ? "ext " : "",
length);
return (err);
diff --git a/sys/net/fq_codel.c b/sys/net/fq_codel.c
index 6aef71efc43..a5077be4cc2 100644
--- a/sys/net/fq_codel.c
+++ b/sys/net/fq_codel.c
@@ -346,7 +346,7 @@ control_law(struct codel *cd, struct codel_params *cp, int64_t rts)
*
* The decision whether to drop the packet or not is made based
* on the queueing delay target of 5ms and on the current queue
- * lenght in bytes which shouldn't be less than the amount of data
+ * length in bytes which shouldn't be less than the amount of data
* that arrives in a typical interarrival time (MTU-sized packets
* arriving spaced by the amount of time it takes to send such a
* packet on the bottleneck).