diff options
-rw-r--r-- | lib/libc/gen/getgrent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c index 609e7fe7d08..e7af7ebfe78 100644 --- a/lib/libc/gen/getgrent.c +++ b/lib/libc/gen/getgrent.c @@ -33,7 +33,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getgrent.c,v 1.12 2000/01/08 08:07:24 d Exp $"; +static char rcsid[] = "$OpenBSD: getgrent.c,v 1.13 2000/09/24 14:35:10 d Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -184,7 +184,7 @@ setgroupent(stayopen) _gr_stayopen = stayopen; retval = 1; } - _THREAD_PRIVATE_MUTEX_LOCK(gr); + _THREAD_PRIVATE_MUTEX_UNLOCK(gr); return (retval); } |