summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-15 03:15:36 +0000
committerpfg <pfg@FreeBSD.org>2016-05-15 03:15:36 +0000
commit23f338f31131ff764dde3a562b5d85ef7618ab5b (patch)
tree4398e1a36010e89f685e91083a86f92bcb859dc3 /tools
parent43c202b5d356fab514defa4cbd675902bdb18abd (diff)
downloadFreeBSD-src-23f338f31131ff764dde3a562b5d85ef7618ab5b.zip
FreeBSD-src-23f338f31131ff764dde3a562b5d85ef7618ab5b.tar.gz
MFC r298881, 298882, 298883, 298885:
Minor spelling fixes in: tools, share, bluetooth, pmcstat, etc Many of these have user-visible strings.
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/sockets/so_setfib/so_setfib.c2
-rw-r--r--tools/tools/fixwhite/fixwhite.12
-rw-r--r--tools/tools/fixwhite/fixwhite.c2
-rw-r--r--tools/tools/ipw/ipwstats.c4
-rw-r--r--tools/tools/nanobsd/dhcpd/common2
-rwxr-xr-xtools/tools/shlib-compat/shlib-compat.py2
-rw-r--r--tools/tools/wtap/vis_map/vis_map.c2
-rw-r--r--tools/tools/wtap/wtap/wtap.c2
8 files changed, 9 insertions, 9 deletions
diff --git a/tools/regression/sockets/so_setfib/so_setfib.c b/tools/regression/sockets/so_setfib/so_setfib.c
index c56cf5b..ab1255b 100644
--- a/tools/regression/sockets/so_setfib/so_setfib.c
+++ b/tools/regression/sockets/so_setfib/so_setfib.c
@@ -175,7 +175,7 @@ main(int argc __unused, char *argv[] __unused)
return (0);
}
- /* Initalize randomness. */
+ /* Initialize randomness. */
srandomdev();
/* Get number of FIBs supported by kernel. */
diff --git a/tools/tools/fixwhite/fixwhite.1 b/tools/tools/fixwhite/fixwhite.1
index ccf5ece..54dae66 100644
--- a/tools/tools/fixwhite/fixwhite.1
+++ b/tools/tools/fixwhite/fixwhite.1
@@ -43,6 +43,6 @@ trailing whitespace characters from ever line of text.
Multiple successive empty lines are merged together.
If the whitespace at the beginning of a sentence is exactly a multiple
of eight spaces, the whitespace is replaced by tabs.
-Also, spaces preceeding tabs will be merged into the tab character.
+Also, spaces preceding tabs will be merged into the tab character.
.Sh AUTHORS
.An Ed Schouten Aq ed@FreeBSD.org
diff --git a/tools/tools/fixwhite/fixwhite.c b/tools/tools/fixwhite/fixwhite.c
index 903a5a3..2b17630 100644
--- a/tools/tools/fixwhite/fixwhite.c
+++ b/tools/tools/fixwhite/fixwhite.c
@@ -95,7 +95,7 @@ savewhite(char c, bool leading)
savebyte(' ');
break;
case '\t':
- /* Convert preceeding spaces to tabs. */
+ /* Convert preceding spaces to tabs. */
ncolumn = (column / 8 + 1) * 8;
while (peekbyte(1, ' ')) {
queuelen--;
diff --git a/tools/tools/ipw/ipwstats.c b/tools/tools/ipw/ipwstats.c
index 3146d12..fe8c5a8 100644
--- a/tools/tools/ipw/ipwstats.c
+++ b/tools/tools/ipw/ipwstats.c
@@ -89,7 +89,7 @@ static const struct statistic tbl[] = {
{ 27, "Number of reassociation requests transmitted", INT },
{ 28, "Number of reassociation responses transmitted", INT },
{ 29, "Number of probe requests transmitted", INT },
- { 30, "Number of probe reponses transmitted", INT },
+ { 30, "Number of probe responses transmitted", INT },
{ 31, "Number of beacons transmitted", INT },
{ 32, "Number of ATIM frames transmitted", INT },
{ 33, "Number of disassociation requests transmitted", INT },
@@ -137,7 +137,7 @@ static const struct statistic tbl[] = {
{ 89, "Number of reassociation requests received", INT },
{ 90, "Number of reassociation responses received", INT },
{ 91, "Number of probe requests received", INT },
- { 92, "Number of probe reponses received", INT },
+ { 92, "Number of probe responses received", INT },
{ 93, "Number of beacons received", INT },
{ 94, "Number of ATIM frames received", INT },
{ 95, "Number of disassociation requests received", INT },
diff --git a/tools/tools/nanobsd/dhcpd/common b/tools/tools/nanobsd/dhcpd/common
index 2658a84..c8c7598 100644
--- a/tools/tools/nanobsd/dhcpd/common
+++ b/tools/tools/nanobsd/dhcpd/common
@@ -229,7 +229,7 @@ add_port () {
local port_path=$1
local port=`echo $1 | sed -e 's/\//_/'`
shift
- # Check if package allready exist
+ # Check if package already exist
# Need to:
# 1. check ARCH of this package!
# 2. Add a trap
diff --git a/tools/tools/shlib-compat/shlib-compat.py b/tools/tools/shlib-compat/shlib-compat.py
index 726c53f..f463763 100755
--- a/tools/tools/shlib-compat/shlib-compat.py
+++ b/tools/tools/shlib-compat/shlib-compat.py
@@ -893,7 +893,7 @@ class DwarfdumpParser(Parser):
offset = int(tag.args['DW_AT_low_pc'], 16)
if self.offsetmap.has_key(offset):
raise ValueError("Dwarf dump parse error: " +
- "symbol is aleady defined at offset 0x%x" % offset)
+ "symbol is already defined at offset 0x%x" % offset)
self.offsetmap[offset] = tag
if len(self.stack) > 0:
prev = self.stack.pop()
diff --git a/tools/tools/wtap/vis_map/vis_map.c b/tools/tools/wtap/vis_map/vis_map.c
index 4a0109e..afba7d1 100644
--- a/tools/tools/wtap/vis_map/vis_map.c
+++ b/tools/tools/wtap/vis_map/vis_map.c
@@ -110,7 +110,7 @@ main(int argc, const char* argv[])
link_op(&l);
break;
default:
- printf("wtap ioctl: unkown command '%c'\n", *argv[1]);
+ printf("wtap ioctl: unknown command '%c'\n", *argv[1]);
exit(1);
}
exit(0);
diff --git a/tools/tools/wtap/wtap/wtap.c b/tools/tools/wtap/wtap/wtap.c
index 9e8ce5d..0bc9233 100644
--- a/tools/tools/wtap/wtap/wtap.c
+++ b/tools/tools/wtap/wtap/wtap.c
@@ -75,7 +75,7 @@ int main( int argc, const char* argv[])
delete(id);
break;
default:
- printf("wtap ioctl: unkown command '%c'\n", *argv[1]);
+ printf("wtap ioctl: unknown command '%c'\n", *argv[1]);
return -1;
}
return 0;
OpenPOWER on IntegriCloud