From 5a3733e33dd63da58b28eb2ea6df25d4090dab5e Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 26 Sep 1995 17:48:59 +0000 Subject: Correct the alignment of the tty column, which was affected by my change to allow more than two tty characters. David Greenman pointed out that when a process that had been revoked from it's controlling tty, the "-" sign was detached from any two-character names. --- bin/ps/keyword.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ps/keyword.c') diff --git a/bin/ps/keyword.c b/bin/ps/keyword.c index 8dc8c14..23b5b2b 100644 --- a/bin/ps/keyword.c +++ b/bin/ps/keyword.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: keyword.c,v 1.5 1994/10/02 08:33:28 davidg Exp $ + * $Id: keyword.c,v 1.6 1995/09/04 01:22:40 peter Exp $ */ #ifndef lint @@ -161,7 +161,7 @@ VAR var[] = { {"tpgid", "TPGID", NULL, 0, evar, 4, EOFF(e_tpgid), ULONG, PIDFMT}, {"tsess", "TSESS", NULL, 0, evar, 6, EOFF(e_tsess), KPTR, "x"}, {"tsiz", "TSIZ", NULL, 0, tsize, 4}, - {"tt", "TT", NULL, LJUST, tname, 4}, + {"tt", "TT ", NULL, 0, tname, 4}, {"tty", "TTY", NULL, LJUST, longtname, 8}, {"ucomm", "UCOMM", NULL, LJUST, ucomm, MAXCOMLEN}, {"uid", "UID", NULL, 0, evar, UIDLEN, EOFF(e_ucred.cr_uid), -- cgit v1.1