summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pts.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-18 20:11:29 +0000
committered <ed@FreeBSD.org>2009-12-18 20:11:29 +0000
commit41fac4197d5162b85f93202104ac73795aefe328 (patch)
treeefa165d1120b3ff944a52e5dc31832558bdc8b24 /sys/kern/tty_pts.c
parent7b2c1cab41d092a4593602695e31318d7761df81 (diff)
downloadFreeBSD-src-41fac4197d5162b85f93202104ac73795aefe328.zip
FreeBSD-src-41fac4197d5162b85f93202104ac73795aefe328.tar.gz
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 <jille@quis.cx>
Diffstat (limited to 'sys/kern/tty_pts.c')
-rw-r--r--sys/kern/tty_pts.c8
1 files changed, 4 insertions, 4 deletions
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;
OpenPOWER on IntegriCloud