summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 19:18:56 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 22:31:00 +0100
commit43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a (patch)
treec10af94c0148af2ad934d1804c7a2beb406cc641 /source4/lib/registry/tools
parent64f51380aad484d020093c926512ec79a35bcb93 (diff)
downloadsamba-43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a.tar.gz
samba-43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a.tar.bz2
samba-43170dafbcbe7464bce9b4c6d76532d7d0bf5b9a.zip
s4:registry - adaptions for "add memory contexts for delete value/key functions"
Diffstat (limited to 'source4/lib/registry/tools')
-rw-r--r--source4/lib/registry/tools/regshell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c
index 558e26dcdf..b72b07574e 100644
--- a/source4/lib/registry/tools/regshell.c
+++ b/source4/lib/registry/tools/regshell.c
@@ -325,7 +325,7 @@ static WERROR cmd_rmkey(struct regshell_context *ctx,
return WERR_INVALID_PARAM;
}
- error = reg_key_del(ctx->current, argv[1]);
+ error = reg_key_del(ctx, ctx->current, argv[1]);
if(!W_ERROR_IS_OK(error)) {
fprintf(stderr, "Error deleting '%s'\n", argv[1]);
return error;
@@ -345,7 +345,7 @@ static WERROR cmd_rmval(struct regshell_context *ctx, int argc, char **argv)
return WERR_INVALID_PARAM;
}
- error = reg_del_value(ctx->current, argv[1]);
+ error = reg_del_value(ctx, ctx->current, argv[1]);
if(!W_ERROR_IS_OK(error)) {
fprintf(stderr, "Error deleting value '%s'\n", argv[1]);
return error;