summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-19 02:08:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-19 02:08:46 +0000
commit2e773d5065dc62c45f9cadfb2dfadeb965b40a39 (patch)
tree4c3522b5e3ea2178872b996102206e27bfe31211 /sys/compat
parentd332f862fb215a6e064d9e592ec7fdb8e86fed75 (diff)
add IBCS2_FIONREAD support; remy@synx.com
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/ibcs2/ibcs2_ioctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/ibcs2/ibcs2_ioctl.c b/sys/compat/ibcs2/ibcs2_ioctl.c
index 55b69dd4cf8..c6adf20311a 100644
--- a/sys/compat/ibcs2/ibcs2_ioctl.c
+++ b/sys/compat/ibcs2/ibcs2_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_ioctl.c,v 1.7 1997/11/17 09:21:47 deraadt Exp $ */
+/* $OpenBSD: ibcs2_ioctl.c,v 1.8 1998/02/19 02:08:45 deraadt Exp $ */
/* $NetBSD: ibcs2_ioctl.c,v 1.12 1996/08/10 09:08:26 mycroft Exp $ */
/*
@@ -534,6 +534,7 @@ ibcs2_sys_ioctl(p, v, retval)
return (*ctl)(fp, FIONBIO, (caddr_t)&arg, p);
}
+ case IBCS2_FIONREAD:
case IBCS2_I_NREAD: /* STREAMS */
SCARG(uap, cmd) = FIONREAD;
return sys_ioctl(p, uap, retval);