diff options
Diffstat (limited to 'usr/src/lib/nsswitch/dns/common/gethostent6.c')
-rw-r--r-- | usr/src/lib/nsswitch/dns/common/gethostent6.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/usr/src/lib/nsswitch/dns/common/gethostent6.c b/usr/src/lib/nsswitch/dns/common/gethostent6.c index 6e81ea61d9..ee85832073 100644 --- a/usr/src/lib/nsswitch/dns/common/gethostent6.c +++ b/usr/src/lib/nsswitch/dns/common/gethostent6.c @@ -18,13 +18,11 @@ * * CDDL HEADER END */ + /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -/* - * gethostent6.c - */ #pragma ident "%Z%%M% %I% %E% SMI" @@ -512,15 +510,15 @@ _nss_dns_destr(be, dummy) if (enable_mt == 0 || (mt_disabled = (*enable_mt)()) != 0) { (void) sigfillset(&newmask); - _thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask); - _mutex_lock(&one_lane); + (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask); + (void) mutex_lock(&one_lane); } _endhostent(&errp); if (mt_disabled) { - _mutex_unlock(&one_lane); - _thr_sigsetmask(SIG_SETMASK, &oldmask, NULL); + (void) mutex_unlock(&one_lane); + (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL); } else { (void) (*disable_mt)(); } |