From 41fac4197d5162b85f93202104ac73795aefe328 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 18 Dec 2009 20:11:29 +0000 Subject: 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 --- sys/kern/tty_pts.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/kern/tty_pts.c') diff --git a/sys/kern/tty_pts.c b/sys/kern/tty_pts.c index bc6e158..26946f5 100644 --- a/sys/kern/tty_pts.c +++ b/sys/kern/tty_pts.c @@ -733,8 +733,8 @@ pts_alloc(int fflags, struct thread *td, struct file *fp) /* 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 thread *td, struct file *fp, /* 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; -- cgit v1.1