Mercurial > illumos > illumos-gate
changeset 14114:b92428ed8d2a
3972 ps - missing column separator
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
author | Jerry Jelinek <jerry.jelinek@joyent.com> |
---|---|
date | Tue, 03 Jul 2012 12:49:09 +0000 |
parents | 01cb14af742b |
children | 417f3f83e896 |
files | usr/src/cmd/ps/ucbps.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/ps/ucbps.c Thu Jun 13 19:58:31 2013 +0000 +++ b/usr/src/cmd/ps/ucbps.c Tue Jul 03 12:49:09 2012 +0000 @@ -21,6 +21,7 @@ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * Copyright 2012, Joyent, Inc. All rights reserved. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ @@ -933,13 +934,13 @@ if (psinfo->pr_flag & SSYS) /* SZ */ (void) printf(" 0"); else if (psinfo->pr_size) - (void) printf("%5lu", (ulong_t)psinfo->pr_size); + (void) printf(" %4lu", (ulong_t)psinfo->pr_size); else (void) printf(" ?"); if (psinfo->pr_flag & SSYS) /* RSS */ (void) printf(" 0"); else if (psinfo->pr_rssize) - (void) printf("%5lu", (ulong_t)psinfo->pr_rssize); + (void) printf(" %4lu", (ulong_t)psinfo->pr_rssize); else (void) printf(" ?"); }