aboutsummaryrefslogtreecommitdiff
path: root/tools/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools')
-rw-r--r--tools/tools/bus_autoconf/bus_autoconf.c2
-rwxr-xr-xtools/tools/cd2dvd/cd2dvd.sh2
-rw-r--r--tools/tools/net80211/wlaninject/README2
-rw-r--r--tools/tools/netmap/bridge.c2
-rw-r--r--tools/tools/netmap/pkt-gen.c10
-rw-r--r--tools/tools/sysbuild/README2
-rw-r--r--tools/tools/tinybsd/README2
7 files changed, 11 insertions, 11 deletions
diff --git a/tools/tools/bus_autoconf/bus_autoconf.c b/tools/tools/bus_autoconf/bus_autoconf.c
index adbf6e455e11..bd5d11ef092c 100644
--- a/tools/tools/bus_autoconf/bus_autoconf.c
+++ b/tools/tools/bus_autoconf/bus_autoconf.c
@@ -27,7 +27,7 @@
/*
* Disclaimer: This utility and format is subject to change and not a
- * comitted interface.
+ * committed interface.
*/
#include <stdio.h>
diff --git a/tools/tools/cd2dvd/cd2dvd.sh b/tools/tools/cd2dvd/cd2dvd.sh
index c591080a02b5..c741344e73bd 100755
--- a/tools/tools/cd2dvd/cd2dvd.sh
+++ b/tools/tools/cd2dvd/cd2dvd.sh
@@ -229,7 +229,7 @@ then
echo "Error: less than two CD images specified."
fi
-## Some usefull variables
+## Some useful variables
pwd=`pwd`
tmpdirin="${pwd}/tmp-$$-in"
tmpdirout="${pwd}/tmp-$$-out"
diff --git a/tools/tools/net80211/wlaninject/README b/tools/tools/net80211/wlaninject/README
index 706e3ae9ddb5..16caa0148799 100644
--- a/tools/tools/net80211/wlaninject/README
+++ b/tools/tools/net80211/wlaninject/README
@@ -46,7 +46,7 @@ Interesting 802.11 header options.
will be calculated. Symbolic names are:
preq, probereq Probe Request
auth Authenticate
- areq, assocreq Assocation Request
+ areq, assocreq Association Request
data Data
Otherwise the numerical subtype must be supplied.
-4 The 4th MAC addr used for WDS. Make sure you specify this before
diff --git a/tools/tools/netmap/bridge.c b/tools/tools/netmap/bridge.c
index 2385a0811fb5..2b9122c7e72c 100644
--- a/tools/tools/netmap/bridge.c
+++ b/tools/tools/netmap/bridge.c
@@ -227,7 +227,7 @@ process_rings(struct netmap_ring *rxring, struct netmap_ring *txring,
ts->buf_idx = rs->buf_idx;
rs->buf_idx = pkt;
- /* copy the packet lenght. */
+ /* copy the packet length. */
if (rs->len < 14 || rs->len > 2048)
D("wrong len %d rx[%d] -> tx[%d]", rs->len, j, k);
else if (verbose > 1)
diff --git a/tools/tools/netmap/pkt-gen.c b/tools/tools/netmap/pkt-gen.c
index 21dc8de9420c..f2f4e40b8705 100644
--- a/tools/tools/netmap/pkt-gen.c
+++ b/tools/tools/netmap/pkt-gen.c
@@ -432,7 +432,7 @@ sender_body(void *data)
if (setaffinity(targ->thread, targ->affinity))
goto quit;
- /* setup poll(2) machanism. */
+ /* setup poll(2) mechanism. */
memset(fds, 0, sizeof(fds));
fds[0].fd = targ->fd;
fds[0].events = (POLLOUT);
@@ -543,7 +543,7 @@ receiver_body(void *data)
if (setaffinity(targ->thread, targ->affinity))
goto quit;
- /* setup poll(2) machanism. */
+ /* setup poll(2) mechanism. */
memset(fds, 0, sizeof(fds));
fds[0].fd = targ->fd;
fds[0].events = (POLLIN);
@@ -568,7 +568,7 @@ receiver_body(void *data)
before quitting. */
if (poll(fds, 1, 1 * 1000) <= 0) {
gettimeofday(&targ->toc, NULL);
- targ->toc.tv_sec -= 1; /* Substract timeout time. */
+ targ->toc.tv_sec -= 1; /* Subtract timeout time. */
break;
}
@@ -994,8 +994,8 @@ main(int arc, char **argv)
continue;
/*
- * Collect threads o1utput and extract information about
- * how log it took to send all the packets.
+ * Collect threads output and extract information about
+ * how long it took to send all the packets.
*/
count += targs[i].count;
if (!timerisset(&tic) || timercmp(&targs[i].tic, &tic, <))
diff --git a/tools/tools/sysbuild/README b/tools/tools/sysbuild/README
index 56340b0aa799..3b280d1045e5 100644
--- a/tools/tools/sysbuild/README
+++ b/tools/tools/sysbuild/README
@@ -22,7 +22,7 @@ If you know how nanobsd works, you will find a lot of similarity.
HOWTO
=====
-In all likelyhood, it is easier if we imagine you start with a blank
+In all likelihood, it is easier if we imagine you start with a blank
computer.
Grab a FreeBSD install ISO and boot it.
diff --git a/tools/tools/tinybsd/README b/tools/tools/tinybsd/README
index eec7944663ff..7f3fc05c1186 100644
--- a/tools/tools/tinybsd/README
+++ b/tools/tools/tinybsd/README
@@ -105,7 +105,7 @@ do that step-by-step.
3) Edit the tinybsd.basefiles file and add/remove all binaries you'll need on
your system.
-4) Copy all your /etc configuration wich you want to conf/YOURIMAGE/etc/.
+4) Copy all your /etc configuration which you want to conf/YOURIMAGE/etc/.
5) Gather the right information on your destination media. To do that, plug in
the device on the system and fetch the information using diskinfo(8):