Skip to content

Commit

Permalink
_nss_nis_initgroups_dyn: Return status instead of NSS_STATUS_SUCCESS
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Weimer committed Mar 2, 2015
1 parent e7f07af commit 1a2d98a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion nis/nss_nis/nis-initgroups.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,5 +326,5 @@ _nss_nis_initgroups_dyn (const char *user, gid_t group, long int *start,
free (intern.next);
}

return NSS_STATUS_SUCCESS;
return status;
}

0 comments on commit 1a2d98a

Please sign in to comment.