diff options
author | sos <sos@FreeBSD.org> | 1995-12-30 00:42:25 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 1995-12-30 00:42:25 +0000 |
commit | b783d37e86f19aa0efee839465cac86d80087aaf (patch) | |
tree | 14aa895bd7f5cba6c6b68048125009cd51961510 /sys/compat | |
parent | 9ec9264def9220b678c84198aa37875e77aed0fb (diff) | |
download | FreeBSD-src-b783d37e86f19aa0efee839465cac86d80087aaf.zip FreeBSD-src-b783d37e86f19aa0efee839465cac86d80087aaf.tar.gz |
Oops, forgot a little difference between my src-tree and ours...
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 6073071..03bc031 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_ioctl.c,v 1.3 1995/12/15 03:06:52 peter Exp $ + * $Id: linux_ioctl.c,v 1.4 1995/12/29 22:12:12 sos Exp $ */ #include <sys/param.h> @@ -384,7 +384,7 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args, int *retval) } func = fp->f_ops->fo_ioctl; - switch (args->cmd) { + switch (args->cmd & 0xffff) { case LINUX_TCGETS: if ((error = (*func)(fp, TIOCGETA, (caddr_t)&bsd_termios, p)) != 0) return error; |