summaryrefslogtreecommitdiffstats
path: root/hivex/hivex.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-03 17:45:20 +0000
committerRichard Jones <rjones@redhat.com>2010-02-04 10:26:12 +0000
commit933505a3be8ea5675151048a48b4746295b56d9b (patch)
tree050a338438495b25ac9ade91d964e55c2207467a /hivex/hivex.c
parent97dac113f9ee7d7f2ed581db789707ff759c8cb3 (diff)
downloadlibguestfs-933505a3be8ea5675151048a48b4746295b56d9b.tar.gz
libguestfs-933505a3be8ea5675151048a48b4746295b56d9b.tar.xz
libguestfs-933505a3be8ea5675151048a48b4746295b56d9b.zip
Document that this flag is clear for default keys.
Diffstat (limited to 'hivex/hivex.c')
-rw-r--r--hivex/hivex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hivex/hivex.c b/hivex/hivex.c
index 4cf3ad99..e0118aff 100644
--- a/hivex/hivex.c
+++ b/hivex/hivex.c
@@ -218,7 +218,8 @@ struct ntreg_vk_record {
uint32_t data_type; /* type of the data */
uint16_t flags; /* bit 0 set => key name ASCII,
bit 0 clr => key name UTF-16.
- Only seen ASCII here in the wild. */
+ Only seen ASCII here in the wild.
+ NB: this is CLEAR for default key. */
uint16_t unknown2;
char name[1]; /* key name follows here */
} __attribute__((__packed__));