X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/0880b18ef40ee52f08a23527900e6354275bcc33..15d436e0ed8d8c3d1d6dae157d8d010bbc94f48e:/usr/src/sys/kern/tty_bk.c diff --git a/usr/src/sys/kern/tty_bk.c b/usr/src/sys/kern/tty_bk.c index cd62f134f9..307d6cd9e4 100644 --- a/usr/src/sys/kern/tty_bk.c +++ b/usr/src/sys/kern/tty_bk.c @@ -3,24 +3,18 @@ * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. * - * @(#)tty_bk.c 7.1 (Berkeley) %G% + * @(#)tty_bk.c 7.3 (Berkeley) %G% */ #include "bk.h" #if NBK > 0 #include "param.h" -#include "systm.h" -#include "dir.h" #include "user.h" #include "ioctl.h" #include "tty.h" -#include "proc.h" -#include "inode.h" #include "file.h" -#include "conf.h" #include "buf.h" -#include "uio.h" /* * Line discipline for Berkeley network. @@ -104,7 +98,7 @@ bkread(tp, uio) splx(s); if (tp->t_line != NETLDISC) return (-1); - error = uiomove(tp->t_bufp->b_un.b_addr, tp->t_inbuf, UIO_READ, uio); + error = uiomove(tp->t_bufp->b_un.b_addr, tp->t_inbuf, uio); tp->t_cp = (char *)tp->t_bufp->b_un.b_addr; tp->t_inbuf = 0; tp->t_rec = 0;