fix a misleading sleep identifier.

This commit is contained in:
Poul-Henning Kamp 2004-12-20 21:38:13 +00:00
parent e87047b437
commit 118253ca24
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139086

View file

@ -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;