about summary refs log tree commit diff
path: root/pwd/getpwnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'pwd/getpwnam.c')
-rw-r--r--pwd/getpwnam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwd/getpwnam.c b/pwd/getpwnam.c
index 597b8d1205..042fdae206 100644
--- a/pwd/getpwnam.c
+++ b/pwd/getpwnam.c
@@ -25,6 +25,6 @@ Boston, MA 02111-1307, USA.  */
 #define DATABASE_NAME	passwd
 #define ADD_PARAMS	const char *name
 #define ADD_VARIABLES	name
-#define BUFLEN		1024
+#define BUFLEN		NSS_BUFLEN_PASSWD
 
 #include "../nss/getXXbyYY.c"