summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-02-20 10:19:19 +0000
committeruqs <uqs@FreeBSD.org>2010-02-20 10:19:19 +0000
commitf41a820b03e3a2d94c995f61d1809252d3ebd572 (patch)
tree71b91829f9aac938eedad38fad049a974e6d3414 /usr.bin
parentea21a95532c9b4b4f4ea01448d6beaa75813d377 (diff)
downloadFreeBSD-src-f41a820b03e3a2d94c995f61d1809252d3ebd572.zip
FreeBSD-src-f41a820b03e3a2d94c995f61d1809252d3ebd572.tar.gz
Fix common misspelling of hierarchy
Pointed out by: bf1783 at gmail Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cpio/bsdcpio.12
-rw-r--r--usr.bin/tar/test/test_option_T.c2
-rw-r--r--usr.bin/tar/test/test_option_s.c2
-rw-r--r--usr.bin/tar/tree.c2
-rw-r--r--usr.bin/xinstall/xinstall.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cpio/bsdcpio.1 b/usr.bin/cpio/bsdcpio.1
index 81b3462..6017bc5 100644
--- a/usr.bin/cpio/bsdcpio.1
+++ b/usr.bin/cpio/bsdcpio.1
@@ -266,7 +266,7 @@ for more information.
.Sh EXAMPLES
The
.Nm
-command is traditionally used to copy file heirarchies in conjunction
+command is traditionally used to copy file hierarchies in conjunction
with the
.Xr find 1
command.
diff --git a/usr.bin/tar/test/test_option_T.c b/usr.bin/tar/test/test_option_T.c
index 9f4a2b3..72dcd54 100644
--- a/usr.bin/tar/test/test_option_T.c
+++ b/usr.bin/tar/test/test_option_T.c
@@ -43,7 +43,7 @@ DEFINE_TEST(test_option_T)
int r;
struct stat st;
- /* Create a simple dir heirarchy; bail if anything fails. */
+ /* Create a simple dir hierarchy; bail if anything fails. */
if (!assertEqualInt(0, mkdir("d1", 0755))) return;
if (!assertEqualInt(0, mkdir("d1/d2", 0755))) return;
if (!touch("d1/f1")) return;
diff --git a/usr.bin/tar/test/test_option_s.c b/usr.bin/tar/test/test_option_s.c
index 1059066..c9a6899 100644
--- a/usr.bin/tar/test/test_option_s.c
+++ b/usr.bin/tar/test/test_option_s.c
@@ -44,7 +44,7 @@ DEFINE_TEST(test_option_s)
{
struct stat st;
- /* Create a sample file heirarchy. */
+ /* Create a sample file hierarchy. */
assertEqualInt(0, mkdir("in", 0755));
assertEqualInt(0, mkdir("in/d1", 0755));
assertEqualInt(0, mkfile("in/d1/foo", "foo"));
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. */
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c
index 1466645..449dea3 100644
--- a/usr.bin/xinstall/xinstall.c
+++ b/usr.bin/xinstall/xinstall.c
@@ -733,7 +733,7 @@ strip(const char *to_name)
/*
* install_dir --
- * build directory heirarchy
+ * build directory hierarchy
*/
static void
install_dir(char *path)
OpenPOWER on IntegriCloud