summaryrefslogtreecommitdiffstats
path: root/usr.bin/ar/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ar/write.c')
-rw-r--r--usr.bin/ar/write.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ar/write.c b/usr.bin/ar/write.c
index d27a767..5b6d369 100644
--- a/usr.bin/ar/write.c
+++ b/usr.bin/ar/write.c
@@ -113,7 +113,7 @@ ar_mode_A(struct bsdar *bsdar)
/*
* Create object from file, return created obj upon success, or NULL
* when an error occurs or the member is not newer than existing
- * one while -u is specifed.
+ * one while -u is specified.
*/
static struct ar_obj *
create_obj_from_file(struct bsdar *bsdar, const char *name, time_t mtime)
@@ -220,7 +220,7 @@ insert_obj(struct bsdar *bsdar, struct ar_obj *obj, struct ar_obj *pos)
if (pos == NULL || obj == pos)
/*
- * If the object to move happens to be the posistion obj,
+ * If the object to move happens to be the position obj,
* or if there is not a pos obj, move it to tail.
*/
goto tail;
@@ -418,7 +418,7 @@ write_archive(struct bsdar *bsdar, char mode)
if (mode == 'A') {
/*
* Read objects from the target archive of ADDLIB command.
- * If there are members spcified in argv, read those members
+ * If there are members specified in argv, read those members
* only, otherwise the entire archive will be read.
*/
read_objs(bsdar, bsdar->addlib, 1);
@@ -438,7 +438,7 @@ write_archive(struct bsdar *bsdar, char mode)
/*
* If can't find `pos' specified by user,
- * sliently insert objects at tail.
+ * silently insert objects at tail.
*/
if (pos == NULL)
bsdar->options &= ~(AR_A | AR_B);
@@ -699,7 +699,7 @@ create_symtab_entry(struct bsdar *bsdar, void *maddr, size_t size)
return;
}
if (elf_kind(e) != ELF_K_ELF) {
- /* Sliently ignore non-elf member. */
+ /* Silently ignore non-elf member. */
elf_end(e);
return;
}
OpenPOWER on IntegriCloud