summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2012-01-05 21:36:45 +0000
committeruqs <uqs@FreeBSD.org>2012-01-05 21:36:45 +0000
commit2b302aad9f597489a5b87e5d623f1a326758605e (patch)
treec8ee040beaf87179f920dfcd10aebae532ac7e0e /usr.bin/locate
parentb5c7b0dfe9b8e88376b3dc765231155b450c8e0e (diff)
downloadFreeBSD-src-2b302aad9f597489a5b87e5d623f1a326758605e.zip
FreeBSD-src-2b302aad9f597489a5b87e5d623f1a326758605e.tar.gz
Touch up some more small typos missed in the previous round.
Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/locate/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/locate/locate/util.c b/usr.bin/locate/locate/util.c
index d00a9a3..a28690a 100644
--- a/usr.bin/locate/locate/util.c
+++ b/usr.bin/locate/locate/util.c
@@ -219,15 +219,15 @@ tolower_word(word)
/*
* Read integer from mmap pointer.
- * Essential a simple ``return *(int *)p'' but avoid sigbus
+ * Essentially a simple ``return *(int *)p'' but avoids sigbus
* for integer alignment (SunOS 4.x, 5.x).
*
* Convert network byte order to host byte order if necessary.
- * So we can read on FreeBSD/i386 (little endian) a locate database
+ * So we can read a locate database on FreeBSD/i386 (little endian)
* which was built on SunOS/sparc (big endian).
*/
-int
+int
getwm(p)
caddr_t p;
{
OpenPOWER on IntegriCloud