diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-07-06 22:22:48 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-07-06 22:22:48 -0400 |
commit | 1a544854c23369da3ab3f3a3298fab1a4802ea62 (patch) | |
tree | da46bc03a7d1106e14bf9c53bc6d4595779925b3 /nis/nss_nisplus/nisplus-spwd.c | |
parent | 6f0eec6710935ba246608ba0014456eb7cdb4615 (diff) | |
download | glibc-1a544854c23369da3ab3f3a3298fab1a4802ea62.tar.gz glibc-1a544854c23369da3ab3f3a3298fab1a4802ea62.tar.xz glibc-1a544854c23369da3ab3f3a3298fab1a4802ea62.zip |
nis/nss_nisplus: Kill warnings
Diffstat (limited to 'nis/nss_nisplus/nisplus-spwd.c')
-rw-r--r-- | nis/nss_nisplus/nisplus-spwd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nis/nss_nisplus/nisplus-spwd.c b/nis/nss_nisplus/nisplus-spwd.c index f256f3eb90..e41ffda51b 100644 --- a/nis/nss_nisplus/nisplus-spwd.c +++ b/nis/nss_nisplus/nisplus-spwd.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 2001, 2002, 2003, 2005, 2007 +/* Copyright (C) 1997, 2001, 2002, 2003, 2005, 2007, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997. @@ -57,7 +57,7 @@ _nss_nisplus_setspent (int stayopen) __libc_lock_unlock (lock); - return NSS_STATUS_SUCCESS; + return status; } enum nss_status @@ -91,7 +91,7 @@ internal_nisplus_getspent_r (struct spwd *sp, char *buffer, size_t buflen, { saved_res = NULL; - if (pwd_tablename_val == NULL) + if (pwd_tablename_val == NULL) { enum nss_status status = _nss_pwd_create_tablename (errnop); |