about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--nss/nss_files/files-netgrp.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a9fb192695..19ee630195 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2005-11-25  Ulrich Drepper  <drepper@redhat.com>
 
+	[BZ #1926]
+	* nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change
+	return value type to match expected type.
+
 	[BZ #1925]
 	* nis/ypclnt.c (yp_order): Correct test for invalid parameter.
 
diff --git a/nss/nss_files/files-netgrp.c b/nss/nss_files/files-netgrp.c
index 45f3b8ac42..4b5d774fdd 100644
--- a/nss/nss_files/files-netgrp.c
+++ b/nss/nss_files/files-netgrp.c
@@ -153,7 +153,7 @@ _nss_files_setnetgrent (const char *group, struct __netgrent *result)
 }
 
 
-int
+enum nss_status
 _nss_files_endnetgrent (struct __netgrent *result)
 {
   /* Free allocated memory for data if some is present.  */