git.annexia.org
/
hivex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hivex_root: Return errno == HIVEX_NO_KEY when root key is missing.
[hivex.git]
/
lib
/
hivex.c
diff --git
a/lib/hivex.c
b/lib/hivex.c
index
7715520
..
d042f4f
100644
(file)
--- a/
lib/hivex.c
+++ b/
lib/hivex.c
@@
-559,7
+559,7
@@
hivex_root (hive_h *h)
{
hive_node_h ret = h->rootoffs;
if (!IS_VALID_BLOCK (h, ret)) {
- errno =
ENO
KEY;
+ errno =
HIVEX_NO_
KEY;
return 0;
}
return ret;