Date: Thu, 18 Dec 2008 15:25:33 +0000 (UTC) From: Ivan Voras <ivoras@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186285 - head/sys/kern Message-ID: <200812181525.mBIFPXkN044933@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ivoras Date: Thu Dec 18 15:25:33 2008 New Revision: 186285 URL: http://svn.freebsd.org/changeset/base/186285 Log: 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) Modified: head/sys/kern/tty.c Modified: head/sys/kern/tty.c ============================================================================== --- head/sys/kern/tty.c Thu Dec 18 15:12:04 2008 (r186284) +++ head/sys/kern/tty.c Thu Dec 18 15:25:33 2008 (r186285) @@ -871,10 +871,10 @@ tty_alloc(struct ttydevsw *tsw, void *sc 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 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812181525.mBIFPXkN044933>