summaryrefslogtreecommitdiffstats
path: root/bin/ps/ps.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ps/ps.c')
-rw-r--r--bin/ps/ps.c3
1 files changed, 1 insertions, 2 deletions
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 <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <utmp.h>
#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;
OpenPOWER on IntegriCloud