diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-11 11:16:26 +0000 |
| commit | 1930e303cfa1b9fe2c50fdad0d1ba6143311a53c (patch) | |
| tree | eeeded1f490a2da21f50d2e6f81efd45f8326e90 /sys/dev/cy | |
| parent | f89485e2b1417088084fabcc31952be90ae25378 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cy')
| -rw-r--r-- | sys/dev/cy/cy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 9dc95b3e69ea..706532732688 100644 --- a/sys/dev/cy/cy.c +++ b/sys/dev/cy/cy.c @@ -1539,7 +1539,7 @@ sioioctl(dev, cmd, data, flag, td) int mynor; int s; struct tty *tp; -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) int oldcmd; struct termios term; #endif @@ -1580,7 +1580,7 @@ sioioctl(dev, cmd, data, flag, td) } } tp = com->tp; -#if defined(COMPAT_43) || defined(COMPAT_SUNOS) +#if defined(COMPAT_43) term = tp->t_termios; oldcmd = cmd; error = ttsetcompat(tp, &cmd, data, &term); |
