diff options
author | ivoras <ivoras@FreeBSD.org> | 2008-12-18 15:25:33 +0000 |
---|---|---|
committer | ivoras <ivoras@FreeBSD.org> | 2008-12-18 15:25:33 +0000 |
commit | a6186ea60d2ec289878fbfa8117f1485cb733ddf (patch) | |
tree | 153a443e811a374145f3e98ce6d53bae8bc362c0 /sys/kern/tty.c | |
parent | adbc89339e05eea833dbaa29e3477375cdcd6b3d (diff) | |
download | FreeBSD-src-a6186ea60d2ec289878fbfa8117f1485cb733ddf.zip FreeBSD-src-a6186ea60d2ec289878fbfa8117f1485cb733ddf.tar.gz |
Remove spaces in wait object names to make top (1) output prettier and
unbreak scripts that examine ps (1) output.
Reviewed by: ed
Approved by: gnn (mentor)
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 30c2633..bd9f42f 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -871,10 +871,10 @@ tty_alloc(struct ttydevsw *tsw, void *sc, struct mtx *mutex) tty_init_termios(tp); - cv_init(&tp->t_inwait, "tty input"); - cv_init(&tp->t_outwait, "tty output"); - cv_init(&tp->t_bgwait, "tty background"); - cv_init(&tp->t_dcdwait, "tty dcd"); + cv_init(&tp->t_inwait, "ttyinput"); + cv_init(&tp->t_outwait, "ttyoutput"); + cv_init(&tp->t_bgwait, "ttybackground"); + cv_init(&tp->t_dcdwait, "ttydcd"); ttyinq_init(&tp->t_inq); ttyoutq_init(&tp->t_outq); @@ -884,7 +884,7 @@ tty_alloc(struct ttydevsw *tsw, void *sc, struct mtx *mutex) tp->t_mtx = mutex; } else { tp->t_mtx = &tp->t_mtxobj; - mtx_init(&tp->t_mtxobj, "tty lock", NULL, MTX_DEF); + mtx_init(&tp->t_mtxobj, "ttylock", NULL, MTX_DEF); } knlist_init(&tp->t_inpoll.si_note, tp->t_mtx, NULL, NULL, NULL); |