diff options
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r-- | winsup/cygwin/uinfo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 8a95fa349..c3153966b 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -184,8 +184,8 @@ uinfo_init () Setting `impersonated' to TRUE seems to be wrong but it isn't. Impersonated is thought as "Current User and `token' are coincident". See seteuid() for the mechanism behind that. */ - myself->token = INVALID_HANDLE_VALUE; - myself->impersonated = TRUE; + cygheap->user.token = INVALID_HANDLE_VALUE; + cygheap->user.impersonated = TRUE; /* If uid is USHRT_MAX, the process is started from a non cygwin process or the user context was changed in spawn.cc */ |