summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7ba4fd5325..d12f3fbaaa 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 7e13e3be52..42045a201d 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 *);