mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 04:49:25 +08:00
* 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>
|
||||
|
||||
* 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,
|
||||
FALSE,
|
||||
pid);
|
||||
if (dump_file == INVALID_HANDLE_VALUE)
|
||||
if (process == NULL)
|
||||
{
|
||||
fprintf (stderr, "error opening process\n");
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user