aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tar/tree.c
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2010-02-20 10:19:19 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2010-02-20 10:19:19 +0000
commit8fa03d08ca9964ed8e30528edb7f9da8d723deeb (patch)
tree71b91829f9aac938eedad38fad049a974e6d3414 /usr.bin/tar/tree.c
parent29c271590ecdfcb3e424ca1b98ad814210ea7af2 (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. */