summaryrefslogtreecommitdiffstats
path: root/pw/pw.c
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1997-02-07 10:58:13 +0000
committerDavid Nugent <davidn@FreeBSD.org>1997-02-07 10:58:13 +0000
commitc8da04178c62278fffa19c3336158c7b71fba193 (patch)
tree2cdc9042ee7ce122d897dbddcbaa0f87a12d8305 /pw/pw.c
parentd10c6eb0157e917b37c1638472bac10c4670fb12 (diff)
downloadpw-darwin-c8da04178c62278fffa19c3336158c7b71fba193.tar.gz
pw-darwin-c8da04178c62278fffa19c3336158c7b71fba193.zip
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 'pw/pw.c')
-rw-r--r--pw/pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw.c b/pw/pw.c
index b7336e1..91412a8 100644
--- a/pw/pw.c
+++ b/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"
},