summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/user/user.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/user/user.c b/usr.sbin/user/user.c
index 344a2e21a25..c1ea4423cd6 100644
--- a/usr.sbin/user/user.c
+++ b/usr.sbin/user/user.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: user.c,v 1.18 2000/11/26 01:29:42 millert Exp $ */
+/* $OpenBSD: user.c,v 1.19 2001/02/13 09:18:33 deraadt Exp $ */
/* $NetBSD: user.c,v 1.17 2000/04/14 06:26:55 simonb Exp $ */
/*
@@ -132,8 +132,7 @@ typedef struct user_t {
enum {
MaxShellNameLen = 256,
MaxFileNameLen = MAXPATHLEN,
- MaxUserNameLen = 32,
- MaxFieldNameLen = 32,
+ MaxUserNameLen = MAXLOGNAME,
MaxCommandLen = 2048,
MaxEntryLen = 2048,
MaxPasswordEntryLen = 1024,