about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/getent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/getent.c b/nss/getent.c
index aa4eaf9e0d..8a3c864501 100644
--- a/nss/getent.c
+++ b/nss/getent.c
@@ -841,7 +841,7 @@ shadow_keys (int number, char *key[])
       setspent ();
       while ((sp = getspent ()) != NULL)
 	print_shadow (sp);
-      endpwent ();
+      endspent ();
       return result;
     }