summaryrefslogtreecommitdiffstats
path: root/bin/ps/keyword.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-09-26 17:48:59 +0000
committerpeter <peter@FreeBSD.org>1995-09-26 17:48:59 +0000
commit5a3733e33dd63da58b28eb2ea6df25d4090dab5e (patch)
treeeb90e8805e1e348568dee5f1f8a3cbf37a20cc9b /bin/ps/keyword.c
parent8d2c8c2164b2a032b537a49fb198ccebe58e9af5 (diff)
downloadFreeBSD-src-5a3733e33dd63da58b28eb2ea6df25d4090dab5e.zip
FreeBSD-src-5a3733e33dd63da58b28eb2ea6df25d4090dab5e.tar.gz
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.
Diffstat (limited to 'bin/ps/keyword.c')
-rw-r--r--bin/ps/keyword.c4
1 files changed, 2 insertions, 2 deletions
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),
OpenPOWER on IntegriCloud