Author: ed Date: Fri Dec 18 20:11:29 2009 New Revision: 200685 URL: http://svn.freebsd.org/changeset/base/200685
Log: Make the wchan names of pts(4) fit in top(1). Just like a similar change we made to the TTY code about half a year ago, make these strings look similar. Suggested by: Jille Timmermans <[email protected]> Modified: head/sys/kern/tty_pts.c Modified: head/sys/kern/tty_pts.c ============================================================================== --- head/sys/kern/tty_pts.c Fri Dec 18 20:08:29 2009 (r200684) +++ head/sys/kern/tty_pts.c Fri Dec 18 20:11:29 2009 (r200685) @@ -733,8 +733,8 @@ pts_alloc(int fflags, struct thread *td, /* Allocate TTY and softc. */ psc = malloc(sizeof(struct pts_softc), M_PTS, M_WAITOK|M_ZERO); - cv_init(&psc->pts_inwait, "pts inwait"); - cv_init(&psc->pts_outwait, "pts outwait"); + cv_init(&psc->pts_inwait, "ptsin"); + cv_init(&psc->pts_outwait, "ptsout"); psc->pts_unit = unit; psc->pts_uidinfo = uid; @@ -772,8 +772,8 @@ pts_alloc_external(int fflags, struct th /* Allocate TTY and softc. */ psc = malloc(sizeof(struct pts_softc), M_PTS, M_WAITOK|M_ZERO); - cv_init(&psc->pts_inwait, "pts inwait"); - cv_init(&psc->pts_outwait, "pts outwait"); + cv_init(&psc->pts_inwait, "ptsin"); + cv_init(&psc->pts_outwait, "ptsout"); psc->pts_unit = -1; psc->pts_cdev = dev; _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
