Spelling fixes for source4/lib/registry.
authorBrad Hards <bradh@frogmouth.net>
Sun, 21 Feb 2010 06:24:08 +0000 (17:24 +1100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Mon, 22 Feb 2010 20:45:37 +0000 (21:45 +0100)
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
source4/lib/registry/ldb.c
source4/lib/registry/patchfile.c
source4/lib/registry/tools/regshell.c
source4/lib/registry/tools/regtree.c

index d70489ac03a53f4ebd491de1d370d3d90f33de25..68639f5b5c1259e902f31533b0a61bd98999806d 100644 (file)
@@ -700,7 +700,7 @@ static WERROR ldb_set_value(struct hive_key *parent,
        
        if (strlen(name) > 0) {
                /* For a default value, we add/overwrite the attributes to/of the hive.
-                  For a normal value, we create new childs. */
+                  For a normal value, we create a new child. */
                if (!ldb_dn_add_child_fmt(msg->dn, "value=%s",
                                  reg_ldb_escape(mem_ctx, name)))
                {
index 24d86abf4850e6f1411ab218914be2d414b462d3..0631e760cb9a6608fbef41839293761e7675567b 100644 (file)
@@ -86,7 +86,7 @@ WERROR reg_generate_diff_key(struct registry_key *oldkey,
                }
 
                if (!W_ERROR_IS_OK(error2) && !W_ERROR_EQUAL(error2, WERR_BADFILE)) {
-                       DEBUG(0, ("Error occured while getting subkey by name: %s\n",
+                       DEBUG(0, ("Error occurred while getting subkey by name: %s\n",
                                win_errstr(error2)));
                        talloc_free(mem_ctx);
                        return error2;
@@ -101,7 +101,7 @@ WERROR reg_generate_diff_key(struct registry_key *oldkey,
                /* perform here also the recursive invocation */
                error1 = reg_open_key(mem_ctx, oldkey, keyname1, &t1);
                if (!W_ERROR_IS_OK(error1)) {
-                       DEBUG(0, ("Error occured while getting subkey by name: %s\n",
+                       DEBUG(0, ("Error occurred while getting subkey by name: %s\n",
                        win_errstr(error1)));
                        talloc_free(mem_ctx);
                        return error1;
@@ -161,7 +161,7 @@ WERROR reg_generate_diff_key(struct registry_key *oldkey,
                /* perform here also the recursive invocation */
                error1 = reg_open_key(mem_ctx, newkey, keyname1, &t2);
                if (!W_ERROR_IS_OK(error1)) {
-                       DEBUG(0, ("Error occured while getting subkey by name: %s\n",
+                       DEBUG(0, ("Error occurred while getting subkey by name: %s\n",
                        win_errstr(error1)));
                        talloc_free(mem_ctx);
                        return error1;
@@ -387,7 +387,7 @@ static WERROR reg_diff_apply_del_key(void *_ctx, const char *key_name)
 
        /* We can't proof here for success, because a common superkey could */
        /* have been deleted before the subkey's (diff order). This removed */
-       /* therefore all childs recursively and the "WERR_BADFILE" result is */
+       /* therefore all children recursively and the "WERR_BADFILE" result is */
        /* expected. */
 
        reg_key_del_abs(ctx, key_name);
index 314f0638918aa3813ad844d05343ab3f8f0e16f2..2bacaac6bc8f8ba8048acde4cea0957fd5079f33 100644 (file)
@@ -282,7 +282,7 @@ static WERROR cmd_ls(struct regshell_context *ctx, int argc, char **argv)
        }
 
        if (!W_ERROR_EQUAL(error, WERR_NO_MORE_ITEMS)) {
-               fprintf(stderr, "Error occured while browsing thru keys: %s\n",
+               fprintf(stderr, "Error occurred while browsing through keys: %s\n",
                        win_errstr(error));
                return error;
        }
index 948ed49312d4eecfef143f23759c7e0a483ecd7e..d266b604e31592cce440ab520827cb4ee6c122fc 100644 (file)
@@ -69,7 +69,7 @@ static void print_tree(int level, struct registry_key *p,
        talloc_free(mem_ctx);
 
        if(!W_ERROR_EQUAL(error, WERR_NO_MORE_ITEMS)) {
-               DEBUG(0, ("Error occured while fetching subkeys for '%s': %s\n",
+               DEBUG(0, ("Error occurred while fetching subkeys for '%s': %s\n",
                                  name, win_errstr(error)));
        }
 
@@ -87,7 +87,7 @@ static void print_tree(int level, struct registry_key *p,
                talloc_free(mem_ctx);
 
                if(!W_ERROR_EQUAL(error, WERR_NO_MORE_ITEMS)) {
-                       DEBUG(0, ("Error occured while fetching values for '%s': %s\n",
+                       DEBUG(0, ("Error occurred while fetching values for '%s': %s\n",
                                name, win_errstr(error)));
                }
        }