summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/tree.c
diff options
context:
space:
mode:
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 f70b6d5..58e9feb 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. */
OpenPOWER on IntegriCloud