From a59e0ec8955e51bb6d9ca62d2636388e417c1d45 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Thu, 29 Aug 2019 21:50:45 +0200 Subject: [PATCH] Spelling fixes s/hierachy/hierarchy/ Signed-off-by: Mathieu Parent Reviewed-by: Andrew Bartlett Reviewed-by: Gary Lockyer --- lib/util/tests/tfork.c | 2 +- source3/libsmb/cliconnect.c | 2 +- source3/script/tests/test_smbclient_tarmode.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/util/tests/tfork.c b/lib/util/tests/tfork.c index 22684e6ea9a..0b87f48de28 100644 --- a/lib/util/tests/tfork.c +++ b/lib/util/tests/tfork.c @@ -267,7 +267,7 @@ static bool test_tfork_process_hierarchy(struct torture_context *tctx) ret = sscanf(line, "%d", &ppid); torture_assert_goto(tctx, ret == 1, ok, child_fail, "sscanf failed\n"); - torture_assert_goto(tctx, ppid == pid, ok, child_fail, "process hierachy not rooted at caller\n"); + torture_assert_goto(tctx, ppid == pid, ok, child_fail, "process hierarchy not rooted at caller\n"); _exit(0); diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 3a116b6c7e6..8d2bd0dcea1 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -1425,7 +1425,7 @@ static void cli_session_setup_creds_cleanup(struct tevent_req *req, * We only call data_blob_clear() as * some of the blobs point to the same memory. * - * We let the talloc hierachy free the memory. + * We let the talloc hierarchy free the memory. */ data_blob_clear(&state->apassword_blob); data_blob_clear(&state->upassword_blob); diff --git a/source3/script/tests/test_smbclient_tarmode.pl b/source3/script/tests/test_smbclient_tarmode.pl index 29cea992ea0..877eec45cc8 100755 --- a/source3/script/tests/test_smbclient_tarmode.pl +++ b/source3/script/tests/test_smbclient_tarmode.pl @@ -1511,7 +1511,7 @@ sub DESTROY { =head4 C<< File::walk( sub { ... }, @files) >> -Iterate on file hierachy in C<@files> and return accumulated results. +Iterate on file hierarchy in C<@files> and return accumulated results. Use C<$_> in the sub to access the current C.