tools: minor spelling fixes.

Mostly comments but also some user-visible strings.

MFC after:	2 weeks
This commit is contained in:
pfg 2016-05-01 16:20:14 +00:00
parent bdd407638b
commit ae1f317868
12 changed files with 16 additions and 16 deletions

View File

@ -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

View File

@ -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. */

View File

@ -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

View File

@ -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--;

View File

@ -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 },

View File

@ -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}"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -936,7 +936,7 @@ def parse_offset(tag):
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()

View File

@ -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);

View File

@ -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;