summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-03-26 20:12:39 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-03-26 20:12:39 +0000
commit4a650cc29105321110f99e95004c1728d474b51b (patch)
tree536ac0027c0830e7571e06095975bb3d7f261af9
parentc0be525bedf07eb85ff8c8f7c04e2cc991dfaa6f (diff)
Notes
-rw-r--r--sys/kern/tty.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c
index 325c62875121..3eb9a2315a56 100644
--- a/sys/kern/tty.c
+++ b/sys/kern/tty.c
@@ -914,6 +914,12 @@ ttioctl(struct tty *tp, u_long cmd, void *data, int flag)
}
}
+ if (tp->t_pps != NULL) {
+ error = pps_ioctl(cmd, data, tp->t_pps);
+ if (error != ENOIOCTL)
+ return (error);
+ }
+
switch (cmd) { /* Process the ioctl. */
case FIOASYNC: /* set/clear async i/o */
s = spltty();