diff options
author | uqs <uqs@FreeBSD.org> | 2011-12-30 11:02:40 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-12-30 11:02:40 +0000 |
commit | 9953595f973c461c2729e5a7cde9380a3d3d2c9a (patch) | |
tree | d145ece02284bd86561f373fcb369e260154153b /usr.bin/locate | |
parent | f4753a04d4771c2013dc576b6455d28c5e64e93e (diff) | |
download | FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.zip FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.tar.gz |
Spelling fixes for usr.bin/
Diffstat (limited to 'usr.bin/locate')
-rw-r--r-- | usr.bin/locate/locate/locate.c | 2 | ||||
-rw-r--r-- | usr.bin/locate/locate/util.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/locate/locate/locate.c b/usr.bin/locate/locate/locate.c index 67a97da..b0faefb 100644 --- a/usr.bin/locate/locate/locate.c +++ b/usr.bin/locate/locate/locate.c @@ -188,7 +188,7 @@ main(argc, argv) /* no (valid) database as argument */ if (dbv == NULL || *dbv == NULL) { - /* try to read database from enviroment */ + /* try to read database from environment */ if ((path_fcodes = getenv("LOCATE_PATH")) == NULL || *path_fcodes == '\0') /* use default database */ diff --git a/usr.bin/locate/locate/util.c b/usr.bin/locate/locate/util.c index 9cd02b0..7b9fe49 100644 --- a/usr.bin/locate/locate/util.c +++ b/usr.bin/locate/locate/util.c @@ -218,11 +218,11 @@ tolower_word(word) /* - * Read integer from mmap pointer. - * Essential a simple ``return *(int *)p'' but avoid sigbus + * Read integer from mmap pointer. + * Essential a simple ``return *(int *)p'' but avoid sigbus * for integer alignment (SunOS 4.x, 5.x). * - * Convert network byte order to host byte order if neccessary. + * Convert network byte order to host byte order if necessary. * So we can read on FreeBSD/i386 (little endian) a locate database * which was built on SunOS/sparc (big endian). */ @@ -254,7 +254,7 @@ getwm(p) /* * Read integer from stream. * - * Convert network byte order to host byte order if neccessary. + * Convert network byte order to host byte order if necessary. * So we can read on FreeBSD/i386 (little endian) a locate database * which was built on SunOS/sparc (big endian). */ |