summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ttymon/tmterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ttymon/tmterm.c')
-rw-r--r--usr/src/cmd/ttymon/tmterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/ttymon/tmterm.c b/usr/src/cmd/ttymon/tmterm.c
index 96e63af2d3..613cf2597d 100644
--- a/usr/src/cmd/ttymon/tmterm.c
+++ b/usr/src/cmd/ttymon/tmterm.c
@@ -244,7 +244,7 @@ initial_termio(int fd, struct pmtab *pmptr)
int ret;
struct Gdef *speedef;
- speedef = get_speed(pmptr->p_ttylabel);
+ speedef = get_speed(pmptr);
if (speedef->g_autobaud & A_FLAG) {
pmptr->p_ttyflags |= A_FLAG;
if (auto_termio(fd) == -1) {