summaryrefslogtreecommitdiff
path: root/sys/dev/si
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-12-06 13:25:01 +0000
committerBruce Evans <bde@FreeBSD.org>1997-12-06 13:25:01 +0000
commit239b7b699e20533f6884134e5007c7708d67317a (patch)
tree1921294e8fbe5d2f91d066ec237f5402e92b81de /sys/dev/si
parent27c20503c61a661921e8c226868df0f6399854f7 (diff)
Notes
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index 6c4f899f6199..1c729608a68e 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.60 1997/09/14 03:19:18 peter Exp $
+ * $Id: si.c,v 1.61 1997/09/21 21:41:37 gibbs Exp $
*/
#ifndef lint
@@ -1174,14 +1174,14 @@ siioctl(dev, cmd, data, flag, p)
}
error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p);
- if (error >= 0)
+ if (error != ENOIOCTL)
goto out;
oldspl = spltty();
error = ttioctl(tp, cmd, data, flag);
si_disc_optim(tp, &tp->t_termios, pp);
- if (error >= 0)
+ if (error != ENOIOCTL)
goto outspl;
switch (cmd) {