diff options
author | pfg <pfg@FreeBSD.org> | 2016-05-01 16:20:14 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-05-01 16:20:14 +0000 |
commit | ae1f3178687506817ba6a4df163b8c78747c997d (patch) | |
tree | dc794416c484711fbd7308e9ac315c0956f1a029 /tools | |
parent | bdd407638baec3f97abe9521462158852c00740b (diff) | |
download | FreeBSD-src-ae1f3178687506817ba6a4df163b8c78747c997d.zip FreeBSD-src-ae1f3178687506817ba6a4df163b8c78747c997d.tar.gz |
tools: minor spelling fixes.
Mostly comments but also some user-visible strings.
MFC after: 2 weeks
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build/mk/Makefile.boot | 2 | ||||
-rw-r--r-- | tools/regression/sockets/so_setfib/so_setfib.c | 2 | ||||
-rw-r--r-- | tools/tools/fixwhite/fixwhite.1 | 2 | ||||
-rw-r--r-- | tools/tools/fixwhite/fixwhite.c | 2 | ||||
-rw-r--r-- | tools/tools/ipw/ipwstats.c | 4 | ||||
-rwxr-xr-x | tools/tools/nanobsd/defaults.sh | 4 | ||||
-rw-r--r-- | tools/tools/nanobsd/dhcpd/common | 2 | ||||
-rw-r--r-- | tools/tools/nanobsd/embedded/README | 6 | ||||
-rw-r--r-- | tools/tools/nanobsd/embedded/common | 2 | ||||
-rwxr-xr-x | tools/tools/shlib-compat/shlib-compat.py | 2 | ||||
-rw-r--r-- | tools/tools/wtap/vis_map/vis_map.c | 2 | ||||
-rw-r--r-- | tools/tools/wtap/wtap/wtap.c | 2 |
12 files changed, 16 insertions, 16 deletions
diff --git a/tools/build/mk/Makefile.boot b/tools/build/mk/Makefile.boot index b75809b..4eeb550 100644 --- a/tools/build/mk/Makefile.boot +++ b/tools/build/mk/Makefile.boot @@ -5,5 +5,5 @@ DPADD+= ${WORLDTMP}/legacy/usr/lib/libegacy.a LDADD+= -legacy LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib -# we do not want to capture dependencies refering to the above +# we do not want to capture dependencies referring to the above UPDATE_DEPENDFILE= no 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 3ad088d..016e24b 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 Mt 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/defaults.sh b/tools/tools/nanobsd/defaults.sh index 19cf887..a69ad8b 100755 --- a/tools/tools/nanobsd/defaults.sh +++ b/tools/tools/nanobsd/defaults.sh @@ -97,7 +97,7 @@ NANO_CUSTOMIZE="" # Late customize commands. NANO_LATE_CUSTOMIZE="" -# Newfs paramters to use +# Newfs parameters to use NANO_NEWFS="-b 4096 -f 512 -i 8192 -U" # The drive name of the media at runtime @@ -348,7 +348,7 @@ build_kernel ( ) ( # Note: We intentionally build all modules, not only the ones in # NANO_MODULES so the built world can be reused by multiple images. - # Although MODULES_OVERRIDE can be defined in the kenrel config + # Although MODULES_OVERRIDE can be defined in the kernel config # file to override this behavior. Just set NANO_MODULES=default. set -o xtrace cd "${NANO_SRC}" 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/nanobsd/embedded/README b/tools/tools/nanobsd/embedded/README index ebaba4c..78f6c31 100644 --- a/tools/tools/nanobsd/embedded/README +++ b/tools/tools/nanobsd/embedded/README @@ -35,13 +35,13 @@ qemu-sparc64.cfg Create a bootable sparc64 image for qemu rpi.cfg Create a bootable image for Raspberry Pi B rpi2.cfg Create a bootable image for Raspberry Pi2 sam9260ek.cfg Create a bootable image for an Atmel SAM9260-EK - evaluation board (still needs a kenrel loaded + evaluation board (still needs a kernel loaded into dataflash or NAND, so experimental). sam9g20ek.cfg Create a bootable image for an Atmel SAM9G20-EK - evaluation board (still needs a kenrel loaded + evaluation board (still needs a kernel loaded into dataflash or NAND, so experimental). Also works on many after-market boards that are somewhat - compatible with the refernce board. + compatible with the references board. QEMU command lines for serial console access diff --git a/tools/tools/nanobsd/embedded/common b/tools/tools/nanobsd/embedded/common index 8bbb089..4050ae5 100644 --- a/tools/tools/nanobsd/embedded/common +++ b/tools/tools/nanobsd/embedded/common @@ -38,7 +38,7 @@ # Missing in base: # o mkimg setting active partition # o mkimg starting at arbitrary offset (needed for A10, et al) -# o mtools still needed becuase we have no makefs -t msdos +# o mtools still needed because we have no makefs -t msdos # o nanobsd doesn't record changes to WORLDTEMP in customization # scripts yet, so we have kludge to pick up all files # o easy way for pkg to grab files from other repos and put that diff --git a/tools/tools/shlib-compat/shlib-compat.py b/tools/tools/shlib-compat/shlib-compat.py index 2d970b5..5df5524 100755 --- a/tools/tools/shlib-compat/shlib-compat.py +++ b/tools/tools/shlib-compat/shlib-compat.py @@ -936,7 +936,7 @@ class DwarfdumpParser(Parser): tag.tag in DwarfdumpParser.external_tags)): if offset in self.offsetmap: 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; |