summaryrefslogtreecommitdiffstats
path: root/sys/dev/bktr/bktr_os.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-08-02 14:25:26 +0000
committered <ed@FreeBSD.org>2009-08-02 14:25:26 +0000
commitea03af42ccd07d2533707afe4d1ba08f34bdb2e9 (patch)
tree83f37a3195c24783ffcfba938ae2aefa103541ad /sys/dev/bktr/bktr_os.c
parentc5b1acbb23e59bea7d9025852bb9c14a0bc5b69a (diff)
downloadFreeBSD-src-ea03af42ccd07d2533707afe4d1ba08f34bdb2e9.zip
FreeBSD-src-ea03af42ccd07d2533707afe4d1ba08f34bdb2e9.tar.gz
Fix two bugs related to TTY input:
- fix write() on pseudo-terminal masters to return the amount of bytes passed to the TTY, not the amount of bytes read from user. - fix ttydisc_rint_bypass() to set the high watermark when it cannot write all input, just like ttydisc_rint() itself. Approved by: re (kib)
Diffstat (limited to 'sys/dev/bktr/bktr_os.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud