diff options
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 48709fc86..d6ab35aa8 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -77,7 +77,7 @@ pinfo_init (LPBYTE info) { /* The process was execed. Reuse entry from the original owner of this pid. */ - environ_init (); /* Needs myself but affects calls below */ + environ_init (0); /* Needs myself but affects calls below */ /* spawn has already set up a pid structure for us so we'll use that */ @@ -100,7 +100,7 @@ pinfo_init (LPBYTE info) myself->ctty = -1; myself->uid = USHRT_MAX; - environ_init (); /* call after myself has been set up */ + environ_init (0); /* call after myself has been set up */ } debug_printf ("pid %d, pgid %d", myself->pid, myself->pgid); |