Minimal cleanup in innetgr.
authorUlrich Drepper <drepper@gmail.com>
Mon, 27 Jun 2011 14:57:37 +0000 (10:57 -0400)
committerUlrich Drepper <drepper@gmail.com>
Mon, 27 Jun 2011 14:57:37 +0000 (10:57 -0400)
ChangeLog
inet/getnetgrent_r.c

index 7ba4fd5..d12f3fb 100644 (file)
--- 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
index 7e13e3b..42045a2 100644 (file)
@@ -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 *);