summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/arch.c
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
commit9953595f973c461c2729e5a7cde9380a3d3d2c9a (patch)
treed145ece02284bd86561f373fcb369e260154153b /usr.bin/make/arch.c
parentf4753a04d4771c2013dc576b6455d28c5e64e93e (diff)
downloadFreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.zip
FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.tar.gz
Spelling fixes for usr.bin/
Diffstat (limited to 'usr.bin/make/arch.c')
-rw-r--r--usr.bin/make/arch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c
index 9cd0a1c..e4f6b0d 100644
--- a/usr.bin/make/arch.c
+++ b/usr.bin/make/arch.c
@@ -179,8 +179,8 @@ Boolean arch_fatal = TRUE;
/**
* ArchError
- * An error happend while handling an archive. BSDmake traditionally
- * ignored these errors. Now this is dependend on the global arch_fatal
+ * An error happened while handling an archive. BSDmake traditionally
+ * ignored these errors. Now this is dependent on the global arch_fatal
* which, if true, makes these errors fatal and, if false, just emits an
* error message.
*/
@@ -529,7 +529,7 @@ ArchArchiveOpen(const char *archive, const char *mode)
/*
* Read the next header from the archive. The return value will be +1 if
- * the header is read successfully, 0 on EOF and -1 if an error happend.
+ * the header is read successfully, 0 on EOF and -1 if an error happened.
* On a successful return sname contains the truncated member name and
* member the full name. hdr contains the member header. For the symbol table
* names of length 0 are returned. The entry for the file name table is never
@@ -830,7 +830,7 @@ ArchFindMember(const char *archive, const char *member, const char *mode)
* (3) the name is longer and the archive doesn't support long
* names.
* Because we don't know whether the archive supports long
- * names or not we need to be carefull.
+ * names or not we need to be careful.
*/
if (member == NULL) {
/* special case - symbol table */
@@ -942,7 +942,7 @@ ArchStatMember(const char *archive, const char *member, Boolean hash)
ArchArchiveClose(arf);
if (t < 0) {
- /* error happend - throw away everything */
+ /* error happened - throw away everything */
Hash_DeleteTable(&ar->members);
free(ar->name);
free(ar);
OpenPOWER on IntegriCloud