about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--nis/nss_nis/nis-initgroups.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c7f5484bd..99b00f4f52 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-02  Florian Weimer  <fweimer@redhat.com>
+
+	* nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
+	Return error status.
+
 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
 
 	[BZ #15969]
diff --git a/nis/nss_nis/nis-initgroups.c b/nis/nss_nis/nis-initgroups.c
index d22b241820..ed5c26b20d 100644
--- a/nis/nss_nis/nis-initgroups.c
+++ b/nis/nss_nis/nis-initgroups.c
@@ -326,5 +326,5 @@ done:
       free (intern.next);
     }
 
-  return NSS_STATUS_SUCCESS;
+  return status;
 }