summaryrefslogtreecommitdiff
path: root/usr.bin/tar/tree.c
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-08-26 20:44:12 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-08-26 20:44:12 +0000
commitef7ccb5fc2e3b3b513479d5ccbfd4284ef2860b7 (patch)
treea94d9341ab2f03b2844d2fb6e97a5102b69649fa /usr.bin/tar/tree.c
parentef97ff1d262797d8e5e9ac038104d79e57b9a3e8 (diff)
Notes
Diffstat (limited to 'usr.bin/tar/tree.c')
-rw-r--r--usr.bin/tar/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/tar/tree.c b/usr.bin/tar/tree.c
index f70b6d5a6492..58e9febd3d8e 100644
--- a/usr.bin/tar/tree.c
+++ b/usr.bin/tar/tree.c
@@ -313,7 +313,7 @@ tree_next(struct tree *t)
* violation. Just crash now. */
if (t->visit_type == TREE_ERROR_FATAL) {
const char *msg = "Unable to continue traversing"
- " directory heirarchy after a fatal error.";
+ " directory hierarchy after a fatal error.";
write(2, msg, strlen(msg));
*(int *)0 = 1; /* Deliberate SEGV; NULL pointer dereference. */
exit(1); /* In case the SEGV didn't work. */