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
add definition for ability to produce a backtrace
[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
310e058
..
307d6cd
100644
(file)
--- a/
usr/src/sys/kern/tty_bk.c
+++ b/
usr/src/sys/kern/tty_bk.c
@@
-1,20
+1,20
@@
-/* tty_bk.c 6.1 83/07/29 */
+/*
+ * Copyright (c) 1982, 1986 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ * @(#)tty_bk.c 7.3 (Berkeley) %G%
+ */
#include "bk.h"
#if NBK > 0
#include "bk.h"
#if NBK > 0
-#include "../h/param.h"
-#include "../h/systm.h"
-#include "../h/dir.h"
-#include "../h/user.h"
-#include "../h/ioctl.h"
-#include "../h/tty.h"
-#include "../h/proc.h"
-#include "../h/inode.h"
-#include "../h/file.h"
-#include "../h/conf.h"
-#include "../h/buf.h"
-#include "../h/uio.h"
+#include "param.h"
+#include "user.h"
+#include "ioctl.h"
+#include "tty.h"
+#include "file.h"
+#include "buf.h"
/*
* Line discipline for Berkeley network.
/*
* Line discipline for Berkeley network.
@@
-98,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;