summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 8a5240606..43385287d 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -657,7 +657,7 @@ dll_crt0_1 ()
// should be blocked.
if (mypid)
- set_myself (cygwin_shared->p[mypid]);
+ set_myself ((pid_t) mypid);
(void) SetErrorMode (SEM_FAILCRITICALERRORS);
@@ -1047,7 +1047,7 @@ __api_fatal (const char *fmt, ...)
/* We are going down without mercy. Make sure we reset
our process_state. */
sigproc_terminate ();
- myself->record_death (FALSE);
+ myself->record_death ();
#ifdef DEBUGGING
(void) try_to_debug ();
#endif