fix a misleading sleep identifier.
This commit is contained in:
parent
e87047b437
commit
118253ca24
@ -3111,7 +3111,7 @@ ttyopen(struct cdev *dev, int flag, int mode, struct thread *td)
|
||||
if (flag & O_NONBLOCK)
|
||||
return (EBUSY);
|
||||
error = tsleep(&tp->t_actout,
|
||||
TTIPRI | PCATCH, "siobi", 0);
|
||||
TTIPRI | PCATCH, "ttybi", 0);
|
||||
if (error != 0 || (tp->t_flags & TS_GONE))
|
||||
goto out;
|
||||
goto open_top;
|
||||
|
Loading…
Reference in New Issue
Block a user