projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[DBGHELP] Set LastError for SymGetModuleBase-calls to ERROR_MOD_NOT_FOUND.
[reactos.git]
/
dll
/
win32
/
dbghelp
/
module.c
diff --git
a/dll/win32/dbghelp/module.c
b/dll/win32/dbghelp/module.c
index
0173469
..
aaa0ff6
100644
(file)
--- a/
dll/win32/dbghelp/module.c
+++ b/
dll/win32/dbghelp/module.c
@@
-417,7
+417,7
@@
struct module* module_find_by_addr(const struct process* pcs, DWORD64 addr,
return module;
}
}
- SetLastError(ERROR_
INVALID_ADDRESS
);
+ SetLastError(ERROR_
MOD_NOT_FOUND
);
return module;
}