diff options
author | cf46844 <none@none> | 2006-06-09 16:11:07 -0700 |
---|---|---|
committer | cf46844 <none@none> | 2006-06-09 16:11:07 -0700 |
commit | 524e558aae3e99de2bdab73592f925ea489fbe07 (patch) | |
tree | 510a0aecc3f4b7f9184473595783a7f813338c0d /usr/src/ucbcmd | |
parent | 560f878bce5cdf0661659001415019ca5c8a01b4 (diff) | |
download | illumos-joyent-524e558aae3e99de2bdab73592f925ea489fbe07.tar.gz |
5100635 /usr/ucb/ls -gl doesn't output a space between user and group name
Contributed by Stephen Potter <spp@unixsa.net>
Diffstat (limited to 'usr/src/ucbcmd')
-rw-r--r-- | usr/src/ucbcmd/ls/ls.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/ucbcmd/ls/ls.c b/usr/src/ucbcmd/ls/ls.c index 0f65f61f25..7a5a67985f 100644 --- a/usr/src/ucbcmd/ls/ls.c +++ b/usr/src/ucbcmd/ls/ls.c @@ -1,5 +1,5 @@ /* - * Copyright 1997 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -687,12 +687,12 @@ fmtlstuff(struct afile *p) /* get uname */ { char *cp = getname(p->fuid); - (void) sprintf(uname, "%-9s", cp); + (void) sprintf(uname, "%-8s ", cp); } /* get gname */ if (gflg) { char *cp = getgroup(p->fgid); - (void) sprintf(gname, "%-9s", cp); + (void) sprintf(gname, "%-8s ", cp); } /* get fsize */ if (p->ftype == 'b' || p->ftype == 'c') |