summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-03-02 10:07:12 +0100
committerFlorian Weimer <fweimer@redhat.com>2015-03-02 10:08:12 +0100
commit1a2d98aff250d63a945e67954c742d44ff8a98a7 (patch)
treecc931efa92f0c132698a60d82ddcc1e74d238117
parente7f07af50b231d3ade6b4d338a65d6b571f96116 (diff)
downloadglibc-1a2d98aff250d63a945e67954c742d44ff8a98a7.tar.gz
_nss_nis_initgroups_dyn: Return status instead of NSS_STATUS_SUCCESS
-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;
}