From 41d6f2302828908035ac0443bad844fce7441d7f Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 6 Dec 2009 01:27:28 +0000 Subject: [PATCH] Make pw(8) build without . The size of the username record in utmp files should not influence the maximum username length. Right now ut_user/ut_name is big enough, so in this case it's dead code anyway. --- usr.sbin/pw/pw_user.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c index 4c62fe83c632..c8364cad51f4 100644 --- a/usr.sbin/pw/pw_user.c +++ b/usr.sbin/pw/pw_user.c @@ -41,16 +41,11 @@ static const char rcsid[] = #include #include #include -#include #include #include "pw.h" #include "bitmap.h" -#if (MAXLOGNAME-1) > UT_NAMESIZE -#define LOGNAMESIZE UT_NAMESIZE -#else #define LOGNAMESIZE (MAXLOGNAME-1) -#endif static char locked_str[] = "*LOCKED*";