diff options
author | Bruno Haible <bruno@clisp.org> | 2023-05-15 11:13:08 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-05-15 11:13:08 +0200 |
commit | c013d710ccd81fb5ef4702879d36754c39feb964 (patch) | |
tree | 6f64e9f8eeaf58cc646e67e73a8ce283eba50c00 | |
parent | 88811b7d0413ef4b48566e52eca4f91c37be3a3f (diff) | |
download | gnulib-c013d710ccd81fb5ef4702879d36754c39feb964.tar.gz |
poll: Fix syntax error (regression from yesterday).
* lib/poll.c (poll): Remove semicolon inside braces.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/poll.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2023-05-15 Bruno Haible <bruno@clisp.org> + + poll: Fix syntax error (regression from yesterday). + * lib/poll.c (poll): Remove semicolon inside braces. + 2023-05-14 Paul Eggert <eggert@cs.ucla.edu> timespec: fill in other members diff --git a/lib/poll.c b/lib/poll.c index 941fecf2d3..ec8d2c2b55 100644 --- a/lib/poll.c +++ b/lib/poll.c @@ -403,7 +403,7 @@ poll (struct pollfd *pfd, nfds_t nfd, int timeout) ptv = &tv; tv = (struct timeval) { .tv_sec = timeout / 1000, - .tv_usec = (timeout % 1000) * 1000; + .tv_usec = (timeout % 1000) * 1000 }; } else if (timeout == INFTIM) |