diff options
| author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-09-30 06:16:20 +0000 |
|---|---|---|
| committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-09-30 06:16:20 +0000 |
| commit | b4321062939d432d597bfc6752b390905e0b480a (patch) | |
| tree | 142bee27a177354243f737c6020aa948f2a5c6fb /sys/dev/syscons | |
| parent | 224bdf00d4648775a2842b5abedb9377459248f6 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/syscons.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index aebbd64f1c1c..64e8f31e5adc 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -1060,8 +1060,7 @@ scioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td) scp = sc_get_stat(SC_DEV(sc, i)); if (scp == scp->sc->cur_scp) return 0; - while ((error=tsleep(&scp->smode, PZERO|PCATCH, - "waitvt", 0)) == ERESTART) ; + error = tsleep(&scp->smode, PZERO | PCATCH, "waitvt", 0); return error; case VT_GETACTIVE: /* get active vty # */ |
