From 42430059c615caced0bc277bea3f556a162d5bab Mon Sep 17 00:00:00 2001 From: davidn Date: Fri, 7 Feb 1997 10:58:13 +0000 Subject: Fix useage of MAXLOGNAME to include terminating NUL, by using max(MAXLOGNAME-1,UT_NAMESIZE). Tidy up "pretty" printing format for longer usernames. --- usr.sbin/pw/pw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/pw/pw.c') diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c index b7336e1..91412a8 100644 --- a/usr.sbin/pw/pw.c +++ b/usr.sbin/pw/pw.c @@ -62,7 +62,7 @@ main(int argc, char *argv[]) { /* user */ "C:qn:u:c:d:e:p:g:G:mk:s:oL:i:w:h:Db:NPy:Y", "C:qn:u:rY", - "C:qn:u:c:d:e:p:g:G:mk:s:w:L:h:FNPY", + "C:qn:u:c:d:e:p:g:G:ml:k:s:w:L:h:FNPY", "C:qn:u:FPa", "C:q" }, -- cgit v1.1