diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2008-08-04 12:22:33 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2008-08-04 12:22:33 +0000 |
| commit | 66548e0a2faa5c8b697516fa8acb445cf010778b (patch) | |
| tree | 489ffedecc004de617bd40d45dc75b505c9e4d94 /sys/dev/syscons | |
| parent | 494c177e816c7c0b11275408064cadebb6547e51 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/syscons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 4abf4c4f854e..96ca0b7b0943 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -1068,7 +1068,7 @@ scioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) return EINVAL; if (i == sc->cur_scp->index) return 0; - error = tsleep(VTY_WCHAN(sc, i), PZERO | PCATCH, "waitvt", 0); + error = tsleep(VTY_WCHAN(sc, i), (PZERO + 1) | PCATCH, "waitvt", 0); return error; case VT_GETACTIVE: /* get active vty # */ |
