diff options
-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) |