diff options
author | David Nugent <davidn@FreeBSD.org> | 1997-02-07 10:58:13 +0000 |
---|---|---|
committer | David Nugent <davidn@FreeBSD.org> | 1997-02-07 10:58:13 +0000 |
commit | e57b5686c63708f8b2784e3fe507227e150e8762 (patch) | |
tree | 8c48e5fecc6e9d47c712573cc3ae36956992c378 /usr.sbin/pw/pw.c | |
parent | db2c31168e6f2c6ad43319856061d53d67eac9e3 (diff) | |
download | src-e57b5686c63708f8b2784e3fe507227e150e8762.tar.gz src-e57b5686c63708f8b2784e3fe507227e150e8762.zip |
Fix useage of MAXLOGNAME to include terminating NUL, by using
max(MAXLOGNAME-1,UT_NAMESIZE).
Tidy up "pretty" printing format for longer usernames.
Notes
Notes:
svn path=/head/; revision=22394
Diffstat (limited to 'usr.sbin/pw/pw.c')
-rw-r--r-- | usr.sbin/pw/pw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c index b7336e11ee01..91412a8f35fa 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" }, |