Correct "heirarchy" typos.
authorChris Lamb <chris@chris-lamb.co.uk>
Fri, 17 Feb 2017 20:01:58 +0000 (09:01 +1300)
committerGarming Sam <garming@samba.org>
Wed, 22 Feb 2017 07:26:23 +0000 (08:26 +0100)
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source3/rpc_server/fss/srv_fss_state.c
source4/torture/local/fsrvp_state.c

index 0f2ef0e5e711f93c5ed20230ac4b2f062c1d34a3..8597c36a74ebaae1a8d6f485ac289f7d2e3f902d 100644 (file)
@@ -290,7 +290,7 @@ static NTSTATUS fss_state_smap_retrieve(TALLOC_CTX *mem_ctx,
                return NT_STATUS_NO_MEMORY;
        }
 
-       /* store the full path so that the heirarchy can be rebuilt */
+       /* store the full path so that the hierarchy can be rebuilt */
        smap->sc_share_name = talloc_strdup(smap, (char *)key->dptr);
        if (smap->sc_share_name == NULL) {
                return NT_STATUS_NO_MEMORY;
@@ -335,7 +335,7 @@ static NTSTATUS fss_state_sc_retrieve(TALLOC_CTX *mem_ctx,
                return NT_STATUS_NO_MEMORY;
        }
 
-       /* store the full path so that the heirarchy can be rebuilt */
+       /* store the full path so that the hierarchy can be rebuilt */
        sc->id_str = talloc_strdup(sc, (char *)key->dptr);
        if (sc->id_str == NULL) {
                return NT_STATUS_NO_MEMORY;
@@ -385,7 +385,7 @@ static NTSTATUS fss_state_sc_set_retrieve(TALLOC_CTX *mem_ctx,
                return NT_STATUS_NO_MEMORY;
        }
 
-       /* store the full path so that the heirarchy can be rebuilt */
+       /* store the full path so that the hierarchy can be rebuilt */
        sc_set->id_str = talloc_strdup(sc_set, (char *)key->dptr);
        if (sc_set->id_str == NULL) {
                return NT_STATUS_NO_MEMORY;
@@ -662,7 +662,7 @@ _PRIVATE_ NTSTATUS fss_state_retrieve(TALLOC_CTX *mem_ctx,
 
        status = fss_state_hierarchize(&trv_state, sc_sets, sc_sets_count);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0, ("Failed to form fss state heirarchy\n"));
+               DEBUG(0, ("Failed to form fss state hierarchy\n"));
                goto err_db_free;
        }
 
index a806e64d881b46a4bb73a221443fb046f56f6f35..e4be5006580791578c11ac05c333f0454fc1f3b7 100644 (file)
@@ -262,7 +262,7 @@ static bool test_fsrvp_state_compare(struct torture_context *tctx,
 }
 
 /*
- * test a simple heirarchy of:
+ * test a simple hierarchy of:
  *
  *       |
  *     sc_set
@@ -334,7 +334,7 @@ static bool test_fsrvp_state_single(struct torture_context *tctx)
 }
 
 /*
- * test a complex heirarchy of:
+ * test a complex hierarchy of:
  *
  *              /\
  *             /  \