summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/pwdgrp.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/pwdgrp.h')
-rw-r--r--winsup/cygwin/pwdgrp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/pwdgrp.h b/winsup/cygwin/pwdgrp.h
index c579fc4f4..53899e87d 100644
--- a/winsup/cygwin/pwdgrp.h
+++ b/winsup/cygwin/pwdgrp.h
@@ -39,7 +39,7 @@ class pwdgrp
char *buf, *lptr;
int max_lines;
bool initialized;
- muto *pglock;
+ muto pglock;
bool parse_passwd ();
bool parse_group ();
@@ -72,10 +72,10 @@ public:
{
if (!check && initialized)
return;
- if (pglock->acquire () == 1 &&
+ if (pglock.acquire () == 1 &&
(!initialized || (check && etc::file_changed (etc_ix))))
(this->*read) ();
- pglock->release ();
+ pglock.release ();
}
pwdgrp (passwd *&pbuf);