summaryrefslogtreecommitdiff
path: root/source3/registry/reg_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_format.c')
-rw-r--r--source3/registry/reg_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_format.c b/source3/registry/reg_format.c
index db03961919..06518e3780 100644
--- a/source3/registry/reg_format.c
+++ b/source3/registry/reg_format.c
@@ -93,7 +93,7 @@ static int
cbuf_print_hive(cbuf* ost, const char* hive, int len, const struct fmt_key* fmt)
{
if (fmt->hive_fmt != FMT_HIVE_PRESERVE) {
- const struct hive_info* hinfo = hive_info(hive, len);
+ const struct hive_info* hinfo = hive_info(hive);
if (hinfo == NULL) {
DEBUG(0, ("Unknown hive %*s", len, hive));
} else {