summaryrefslogtreecommitdiff
path: root/source3/services/services_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/services/services_db.c')
-rw-r--r--source3/services/services_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/services/services_db.c b/source3/services/services_db.c
index 9b28afecd7..749770102b 100644
--- a/source3/services/services_db.c
+++ b/source3/services/services_db.c
@@ -648,7 +648,7 @@ const char *svcctl_lookup_dispname(TALLOC_CTX *ctx, const char *name, NT_USER_TO
goto fail;
blob = data_blob_const(regval_data_p(val), regval_size(val));
- pull_reg_sz(ctx, NULL, &blob, &display_name);
+ pull_reg_sz(ctx, &blob, &display_name);
TALLOC_FREE( key );
@@ -702,7 +702,7 @@ const char *svcctl_lookup_description(TALLOC_CTX *ctx, const char *name, NT_USER
}
blob = data_blob_const(regval_data_p(val), regval_size(val));
- pull_reg_sz(ctx, NULL, &blob, &description);
+ pull_reg_sz(ctx, &blob, &description);
TALLOC_FREE(key);