if CN_REMOTE, don't redirect output. this file needs some help,
but now at least i'm thinking about it again.
This commit is contained in:
parent
3cf1bd9939
commit
8803fd0388
|
@ -36,7 +36,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: cons.c,v 1.8 1993/07/07 11:00:23 deraadt Exp $
|
||||
* $Id: cons.c,v 1.9 1994/01/27 05:30:38 cgd Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -149,7 +149,7 @@ cnwrite(dev, uio, flag)
|
|||
{
|
||||
if (cn_tab == NULL)
|
||||
return (0);
|
||||
if (constty) /* 16 Aug 92*/
|
||||
if (constty && cn_tab->cn_pri != CN_REMOTE)
|
||||
dev = constty->t_dev;
|
||||
else
|
||||
dev = cn_tab->cn_dev;
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id: cons.c,v 1.8 1993/07/07 11:00:23 deraadt Exp $
|
||||
* $Id: cons.c,v 1.9 1994/01/27 05:30:38 cgd Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -149,7 +149,7 @@ cnwrite(dev, uio, flag)
|
|||
{
|
||||
if (cn_tab == NULL)
|
||||
return (0);
|
||||
if (constty) /* 16 Aug 92*/
|
||||
if (constty && cn_tab->cn_pri != CN_REMOTE)
|
||||
dev = constty->t_dev;
|
||||
else
|
||||
dev = cn_tab->cn_dev;
|
||||
|
|
Loading…
Reference in New Issue