From 47f9f58c0a658fe72bce5ce36dd5d481bb1be4e5 Mon Sep 17 00:00:00 2001 From: robert Date: Mon, 8 Jul 2002 09:08:51 +0000 Subject: - Use (MAXLOGNAME - 1) where UT_NAMESIZE was used to be able to (-)remove the inclusions of . --- bin/ps/ps.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/ps/ps.c') diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 8b23a1d..1bb1e50 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -63,7 +63,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include "lomac.h" #include "ps.h" @@ -419,7 +418,7 @@ main(int argc, char *argv[]) uid_t * getuids(const char *arg, int *nuids) { - char name[UT_NAMESIZE + 1]; + char name[MAXLOGNAME]; struct passwd *pwd; uid_t *uids, *moreuids; int alloc; -- cgit v1.1