summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pw.c
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-02-07 10:58:13 +0000
committerdavidn <davidn@FreeBSD.org>1997-02-07 10:58:13 +0000
commit42430059c615caced0bc277bea3f556a162d5bab (patch)
tree8c48e5fecc6e9d47c712573cc3ae36956992c378 /usr.sbin/pw/pw.c
parent2ee2d0c1f6ef42dfd3c8948d2917c8452a6ae0ae (diff)
downloadFreeBSD-src-42430059c615caced0bc277bea3f556a162d5bab.zip
FreeBSD-src-42430059c615caced0bc277bea3f556a162d5bab.tar.gz
Fix useage of MAXLOGNAME to include terminating NUL, by using
max(MAXLOGNAME-1,UT_NAMESIZE). Tidy up "pretty" printing format for longer usernames.
Diffstat (limited to 'usr.sbin/pw/pw.c')
-rw-r--r--usr.sbin/pw/pw.c2
1 files changed, 1 insertions, 1 deletions
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"
},
OpenPOWER on IntegriCloud