diff options
author | Brad Hards <bradh@frogmouth.net> | 2010-02-21 17:24:08 +1100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-22 21:45:37 +0100 |
commit | 3eacc83b35f65603e41bc36d6c42608fc22912f6 (patch) | |
tree | 3137d581590922aa115ee735b36e1d83d0be4564 /source4/lib/registry/tools | |
parent | 7def87cb17edac48ed21041e6cbbda372a8a46da (diff) | |
download | samba-3eacc83b35f65603e41bc36d6c42608fc22912f6.tar.gz samba-3eacc83b35f65603e41bc36d6c42608fc22912f6.tar.bz2 samba-3eacc83b35f65603e41bc36d6c42608fc22912f6.zip |
Spelling fixes for source4/lib/registry.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'source4/lib/registry/tools')
-rw-r--r-- | source4/lib/registry/tools/regshell.c | 2 | ||||
-rw-r--r-- | source4/lib/registry/tools/regtree.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c index 314f063891..2bacaac6bc 100644 --- a/source4/lib/registry/tools/regshell.c +++ b/source4/lib/registry/tools/regshell.c @@ -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; } diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c index 948ed49312..d266b604e3 100644 --- a/source4/lib/registry/tools/regtree.c +++ b/source4/lib/registry/tools/regtree.c @@ -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))); } } |