]> Savannah Git Hosting - gnulib.git/commitdiff
poll: Fix syntax error (regression from yesterday).
authorBruno Haible <bruno@clisp.org>
Mon, 15 May 2023 09:13:08 +0000 (11:13 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 15 May 2023 09:13:08 +0000 (11:13 +0200)
* lib/poll.c (poll): Remove semicolon inside braces.

ChangeLog
lib/poll.c

index 3ed1b1ef8f55059f24349f3b3414fdc5bbdaea0f..dd97e714ea6428896385272edfccd04837ca4d47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 941fecf2d30b9cd9fbf53d45a8953a5bc52d635f..ec8d2c2b55cc9c43780a0515d18294c82806d78f 100644 (file)
@@ -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)