From 664c3aeb0118ccccb068f485e30353a47923b4d0 Mon Sep 17 00:00:00 2001 From: kientzle Date: Mon, 15 Dec 2008 06:00:25 +0000 Subject: Spell "substitution" correctly. PR: bin/128616 Submitted by: Jaakko Heinonen Pointy hat: Tim Kientzle MFC after: 30 days --- usr.bin/tar/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/tar/util.c') diff --git a/usr.bin/tar/util.c b/usr.bin/tar/util.c index 58518fb..9f3fc92 100644 --- a/usr.bin/tar/util.c +++ b/usr.bin/tar/util.c @@ -459,7 +459,7 @@ edit_pathname(struct bsdtar *bsdtar, struct archive_entry *entry) #if HAVE_REGEX_H r = apply_substitution(bsdtar, name, &subst_name, 0); if (r == -1) { - bsdtar_warnc(bsdtar, 0, "Invalid substituion, skipping entry"); + bsdtar_warnc(bsdtar, 0, "Invalid substitution, skipping entry"); return 1; } if (r == 1) { @@ -475,7 +475,7 @@ edit_pathname(struct bsdtar *bsdtar, struct archive_entry *entry) if (archive_entry_hardlink(entry)) { r = apply_substitution(bsdtar, archive_entry_hardlink(entry), &subst_name, 1); if (r == -1) { - bsdtar_warnc(bsdtar, 0, "Invalid substituion, skipping entry"); + bsdtar_warnc(bsdtar, 0, "Invalid substitution, skipping entry"); return 1; } if (r == 1) { @@ -486,7 +486,7 @@ edit_pathname(struct bsdtar *bsdtar, struct archive_entry *entry) if (archive_entry_symlink(entry) != NULL) { r = apply_substitution(bsdtar, archive_entry_symlink(entry), &subst_name, 1); if (r == -1) { - bsdtar_warnc(bsdtar, 0, "Invalid substituion, skipping entry"); + bsdtar_warnc(bsdtar, 0, "Invalid substitution, skipping entry"); return 1; } if (r == 1) { -- cgit v1.1