summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ttymon/tmchild.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ttymon/tmchild.c')
-rw-r--r--usr/src/cmd/ttymon/tmchild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/ttymon/tmchild.c b/usr/src/cmd/ttymon/tmchild.c
index a58099974b..960a9a816c 100644
--- a/usr/src/cmd/ttymon/tmchild.c
+++ b/usr/src/cmd/ttymon/tmchild.c
@@ -99,7 +99,7 @@ tmchild(struct pmtab *pmtab)
*/
(void) setsid();
}
- speedef = get_speed(pmtab->p_ttylabel);
+ speedef = get_speed(pmtab);
openline(pmtab, speedef);
if (pmtab->p_ttyflags & (C_FLAG|B_FLAG)) {
if (pmtab->p_fd >= 0) {