* minidumper.cc (minidump): Fix copy and paste error in checking
result of OpenProcess().
This commit is contained in:
parent
98c9a93c7d
commit
638f0ebf90
@ -1,3 +1,8 @@
|
|||||||
|
2014-04-21 Jon TURNEY <jon.turney@dronecode.org.uk>
|
||||||
|
|
||||||
|
* minidumper.cc (minidump): Fix copy and paste error in checking
|
||||||
|
result of OpenProcess().
|
||||||
|
|
||||||
2014-02-24 Corinna Vinschen <corinna@vinschen.de>
|
2014-02-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* mkgroup.c (domlist_t): Drop id_offset.
|
* mkgroup.c (domlist_t): Drop id_offset.
|
||||||
|
@ -79,7 +79,7 @@ minidump(DWORD pid, MINIDUMP_TYPE dump_type, const char *minidump_file)
|
|||||||
process = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_TERMINATE,
|
process = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_TERMINATE,
|
||||||
FALSE,
|
FALSE,
|
||||||
pid);
|
pid);
|
||||||
if (dump_file == INVALID_HANDLE_VALUE)
|
if (process == NULL)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "error opening process\n");
|
fprintf (stderr, "error opening process\n");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user