summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util_reg_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_reg_api.c b/source3/lib/util_reg_api.c
index dcf45f3c61..ee9f22884b 100644
--- a/source3/lib/util_reg_api.c
+++ b/source3/lib/util_reg_api.c
@@ -61,7 +61,7 @@ WERROR registry_pull_value(TALLOC_CTX *mem_ctx,
err = WERR_NOMEM;
goto error;
}
- tmp[0] = 2;
+ tmp[0] = 0;
tmp[1] = 0;
}
else if ((length % 2) != 0) {