summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/util.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-12-15 06:00:25 +0000
committerkientzle <kientzle@FreeBSD.org>2008-12-15 06:00:25 +0000
commit664c3aeb0118ccccb068f485e30353a47923b4d0 (patch)
treef410cb81e81cf7c25d58e26d619cc225859fe475 /usr.bin/tar/util.c
parentef924e3391ec453d522343f7eb057d0994bda1e1 (diff)
downloadFreeBSD-src-664c3aeb0118ccccb068f485e30353a47923b4d0.zip
FreeBSD-src-664c3aeb0118ccccb068f485e30353a47923b4d0.tar.gz
Spell "substitution" correctly.
PR: bin/128616 Submitted by: Jaakko Heinonen Pointy hat: Tim Kientzle MFC after: 30 days
Diffstat (limited to 'usr.bin/tar/util.c')
-rw-r--r--usr.bin/tar/util.c6
1 files changed, 3 insertions, 3 deletions
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) {
OpenPOWER on IntegriCloud