projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not panic after modified data found on the freelist
[unix-history]
/
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
af7de8d
..
307d6cd
100644
(file)
--- a/
usr/src/sys/kern/tty_bk.c
+++ b/
usr/src/sys/kern/tty_bk.c
@@
-3,14
+3,13
@@
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)tty_bk.c 7.
2
(Berkeley) %G%
+ * @(#)tty_bk.c 7.
3
(Berkeley) %G%
*/
#include "bk.h"
#if NBK > 0
#include "param.h"
*/
#include "bk.h"
#if NBK > 0
#include "param.h"
-#include "dir.h"
#include "user.h"
#include "ioctl.h"
#include "tty.h"
#include "user.h"
#include "ioctl.h"
#include "tty.h"
@@
-99,7
+98,7
@@
bkread(tp, uio)
splx(s);
if (tp->t_line != NETLDISC)
return (-1);
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;
tp->t_cp = (char *)tp->t_bufp->b_un.b_addr;
tp->t_inbuf = 0;
tp->t_rec = 0;