aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ar
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-03-13 17:26:15 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-03-13 17:26:15 +0000
commit5666643a95389e3ea7637b86cc556d411242f71e (patch)
tree395ef70f6697c7140bf88d1c3374954164b0f4a0 /usr.bin/ar
parent183502d1625fbcc3600fbe1d196758b946749569 (diff)
downloadsrc-5666643a95389e3ea7637b86cc556d411242f71e.tar.gz
src-5666643a95389e3ea7637b86cc556d411242f71e.zip
Fix some common typos in comments
- occured -> occurred - normaly -> normally - controling -> controlling - fileds -> fields - insterted -> inserted - outputing -> outputting MFC after: 1 week
Diffstat (limited to 'usr.bin/ar')
-rw-r--r--usr.bin/ar/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ar/write.c b/usr.bin/ar/write.c
index 24bac2f25b92..6ca20a372fdb 100644
--- a/usr.bin/ar/write.c
+++ b/usr.bin/ar/write.c
@@ -175,7 +175,7 @@ create_obj_from_file(struct bsdar *bsdar, const char *name, time_t mtime)
/*
* When option '-D' is specified, mtime and UID / GID from the file
- * will be replaced with 0, and file mode with 644. This ensures that
+ * will be replaced with 0, and file mode with 644. This ensures that
* checksums will match for two archives containing the exact same
* files.
*/
@@ -645,7 +645,7 @@ write_objs(struct bsdar *bsdar)
/*
* Archive string table is padded by a "\n" as the normal members.
* The difference is that the size of archive string table counts
- * in the pad bit, while normal members' size fileds do not.
+ * in the pad bit, while normal members' size fields do not.
*/
if (bsdar->as != NULL && bsdar->as_sz % 2 != 0)
bsdar->as[bsdar->as_sz++] = '\n';