mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix tsleep "waitvt" wait data from vak@kiae.su
This commit is contained in:
parent
aa5cc1650c
commit
f4d3408967
3 changed files with 6 additions and 6 deletions
|
|
@ -35,7 +35,7 @@
|
|||
*
|
||||
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
|
||||
* from: @(#)syscons.c 1.1 931021
|
||||
* $Id: syscons.c,v 1.19 1993/11/23 18:20:52 chmr Exp $
|
||||
* $Id: syscons.c,v 1.20 1993/11/27 06:32:41 rich Exp $
|
||||
*
|
||||
* Heavily modified by Søren Schmidt (sos@login.dkuug.dk) to provide:
|
||||
*
|
||||
|
|
@ -686,7 +686,7 @@ pcioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
|
|||
}
|
||||
else
|
||||
while ((error=tsleep(
|
||||
(caddr_t)&console[*data].smode,
|
||||
(caddr_t)&console[*data-1].smode,
|
||||
PZERO|PCATCH, "waitvt", 0)) == ERESTART) ;
|
||||
return error;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
*
|
||||
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
|
||||
* from: @(#)syscons.c 1.1 931021
|
||||
* $Id: syscons.c,v 1.19 1993/11/23 18:20:52 chmr Exp $
|
||||
* $Id: syscons.c,v 1.20 1993/11/27 06:32:41 rich Exp $
|
||||
*
|
||||
* Heavily modified by Søren Schmidt (sos@login.dkuug.dk) to provide:
|
||||
*
|
||||
|
|
@ -686,7 +686,7 @@ pcioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
|
|||
}
|
||||
else
|
||||
while ((error=tsleep(
|
||||
(caddr_t)&console[*data].smode,
|
||||
(caddr_t)&console[*data-1].smode,
|
||||
PZERO|PCATCH, "waitvt", 0)) == ERESTART) ;
|
||||
return error;
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
*
|
||||
* from: @(#)pccons.c 5.11 (Berkeley) 5/21/91
|
||||
* from: @(#)syscons.c 1.1 931021
|
||||
* $Id: syscons.c,v 1.19 1993/11/23 18:20:52 chmr Exp $
|
||||
* $Id: syscons.c,v 1.20 1993/11/27 06:32:41 rich Exp $
|
||||
*
|
||||
* Heavily modified by Søren Schmidt (sos@login.dkuug.dk) to provide:
|
||||
*
|
||||
|
|
@ -686,7 +686,7 @@ pcioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p)
|
|||
}
|
||||
else
|
||||
while ((error=tsleep(
|
||||
(caddr_t)&console[*data].smode,
|
||||
(caddr_t)&console[*data-1].smode,
|
||||
PZERO|PCATCH, "waitvt", 0)) == ERESTART) ;
|
||||
return error;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue