summaryrefslogtreecommitdiff
path: root/source3/registry/reg_format.c
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2011-07-12 13:04:37 +0200
committerMichael Adam <obnox@samba.org>2011-10-12 22:45:53 +0200
commit6b28a517e3a7d128ae6018dbbe6545d4f33cfdb7 (patch)
treea6d254333a3eabfc2a02539f170e77af22b12a32 /source3/registry/reg_format.c
parent85b145d7450fc9d9e9c93b0300c899dd94e2e861 (diff)
downloadsamba-6b28a517e3a7d128ae6018dbbe6545d4f33cfdb7.tar.gz
samba-6b28a517e3a7d128ae6018dbbe6545d4f33cfdb7.tar.bz2
samba-6b28a517e3a7d128ae6018dbbe6545d4f33cfdb7.zip
s3:registry add function srprs_hive()
Signed-off-by: Michael Adam <obnox@samba.org>
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 {