git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc2098c
)
The root key should be created as a root key, not subkey.
author
Wilco Baan Hofman
<wilco@baanhofman.nl>
Mon, 30 Aug 2010 13:05:25 +0000
(15:05 +0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 3 Oct 2010 13:31:37 +0000
(15:31 +0200)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/lib/registry/regf.c
patch
|
blob
|
history
diff --git
a/source4/lib/registry/regf.c
b/source4/lib/registry/regf.c
index f377099ea1f5a7c5458931dd41223b551be24dbc..58cc51c20260b830d949b204ee6c8f64fe28c741 100644
(file)
--- a/
source4/lib/registry/regf.c
+++ b/
source4/lib/registry/regf.c
@@
-2007,7
+2007,7
@@
WERROR reg_create_regf_file(TALLOC_CTX *parent_ctx,
regf->hbins[0] = NULL;
nk.header = "nk";
- nk.type = REG_
SUB
_KEY;
+ nk.type = REG_
ROOT
_KEY;
unix_to_nt_time(&nk.last_change, time(NULL));
nk.uk1 = 0;
nk.parent_offset = -1;