diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2017-02-14 17:51:15 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2017-02-14 17:51:15 +0000 |
commit | c354b31d48263e4d8dba4af52f82bb9202a4728b (patch) | |
tree | d8998cc410a097f33520d917cecb60d9cf005469 /lib | |
parent | 69699107a30b81d2963ea4ed2fe52dde2362725f (diff) |
Missing opening brace. Spotted by Hiltjo Posthuma.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/poll.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index 1c622a450ab..099e8692d14 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: poll.2,v 1.34 2016/09/17 01:01:42 guenther Exp $ +.\" $OpenBSD: poll.2,v 1.35 2017/02/14 17:51:14 tb Exp $ .\" .\" Copyright (c) 1994 Jason R. Thorpe .\" All rights reserved. @@ -28,7 +28,7 @@ .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" -.Dd $Mdocdate: September 17 2016 $ +.Dd $Mdocdate: February 14 2017 $ .Dt POLL 2 .Os .Sh NAME @@ -295,7 +295,7 @@ if (nready == 0) errx(1, "time out"); if ((pfd[0].revents & (POLLERR|POLLNVAL))) errx(1, "bad fd %d", pfd[0].fd); -if ((pfd[0].revents & (POLLIN|POLLHUP))) +if ((pfd[0].revents & (POLLIN|POLLHUP))) { if (read(STDIN_FILENO, buf, sizeof(buf)) == -1) err(1, "read"); } |