diff options
author | 2020-07-15 02:29:26 +0000 | |
---|---|---|
committer | 2020-07-15 02:29:26 +0000 | |
commit | e65f1edee1faf492bf29120882162ac1ac636caa (patch) | |
tree | e2de111f87c1c4cefc57fec97acbe80b40842c0e | |
parent | allow some additional control over the use of ssh-askpass (diff) | |
download | wireguard-openbsd-e65f1edee1faf492bf29120882162ac1ac636caa.tar.xz wireguard-openbsd-e65f1edee1faf492bf29120882162ac1ac636caa.zip |
Scott Cheloha convinces me the newly added tsleep_nsec should be tsleep,
to hint we are doing the minimum scheduler sleep (and as side effect,
collecting potential signal status)
-rw-r--r-- | sys/kern/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 963ac17d1ec..e71ca0e4fb4 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.159 2020/07/14 18:25:22 deraadt Exp $ */ +/* $OpenBSD: tty.c,v 1.160 2020/07/15 02:29:26 deraadt Exp $ */ /* $NetBSD: tty.c,v 1.68.4.2 1996/06/06 16:04:52 thorpej Exp $ */ /*- @@ -2023,7 +2023,7 @@ ttyretype(struct tty *tp) * Yield because of expense, or possible ptcwrite() injection flood. * Also check for interrupt, and return upwards. */ - return tsleep_nsec(tp, TTIPRI | PCATCH, "ttyretype", 1); + return tsleep(tp, TTIPRI | PCATCH, "ttyretype", 1); } /* |