diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-08-18 17:40:25 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2000-08-18 17:40:25 +0000 |
commit | 90a6e0a54c3d3139827dd048530b514c802fa664 (patch) | |
tree | d290f375ac2ff059b9c0659c57c1f404ee2044a5 /sys/compat/linux/linux_termios.c | |
parent | 96afa037af249d46f66d86038cbae32759f8ab90 (diff) |
Stupid Linux redefined SBRK semantics
Diffstat (limited to 'sys/compat/linux/linux_termios.c')
-rw-r--r-- | sys/compat/linux/linux_termios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_termios.c b/sys/compat/linux/linux_termios.c index 4dd23897436..5000c744ddf 100644 --- a/sys/compat/linux/linux_termios.c +++ b/sys/compat/linux/linux_termios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_termios.c,v 1.7 2000/08/18 14:56:59 niklas Exp $ */ +/* $OpenBSD: linux_termios.c,v 1.8 2000/08/18 17:40:24 niklas Exp $ */ /* $NetBSD: linux_termios.c,v 1.3 1996/04/05 00:01:54 christos Exp $ */ /* @@ -646,7 +646,7 @@ linux_ioctl_termios(p, uap, retval) SCARG(&ia, com) = TIOCNOTTY; break; case LINUX_TCSBRK: - SCARG(&ia, com) = TIOCSBRK; + SCARG(&ia, com) = SCARG(uap, data) ? TIOCDRAIN : TIOCSBRK; break; case LINUX_TCXONC: switch ((int)SCARG(uap, data)) { |