aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-06-27 10:57:37 -0400
committerUlrich Drepper <drepper@gmail.com>2011-06-27 10:57:37 -0400
commit5ce33a62951afb0b4186446bea716650db55baf9 (patch)
tree7ade65cfdf4a9ac33b41da95281d7ab0bda5f054
parentc2344f56e41b56036d6a16a30b9f32c19aa932d6 (diff)
downloadglibc-5ce33a62951afb0b4186446bea716650db55baf9.zip
glibc-5ce33a62951afb0b4186446bea716650db55baf9.tar.gz
glibc-5ce33a62951afb0b4186446bea716650db55baf9.tar.bz2
Minimal cleanup in innetgr.
-rw-r--r--ChangeLog5
-rw-r--r--inet/getnetgrent_r.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ba4fd5..d12f3fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-27 Ulrich Drepper <drepper@gmail.com>
+
+ * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
+ value type for setfct.
+
2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
diff --git a/inet/getnetgrent_r.c b/inet/getnetgrent_r.c
index 7e13e3b..42045a2 100644
--- a/inet/getnetgrent_r.c
+++ b/inet/getnetgrent_r.c
@@ -339,7 +339,7 @@ innetgr (const char *netgroup, const char *host, const char *user,
{
union
{
- int (*f) (const char *, struct __netgrent *);
+ enum nss_status (*f) (const char *, struct __netgrent *);
void *ptr;
} setfct;
void (*endfct) (struct __netgrent *);