From: Stepan Popov <[email protected]>

The test code was missing a semicolon after the pthread_condattr_t
variable declaration.

Signed-off-by: Stepan Popov <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Fixes: 657ac98b58c ("thread-posix: use monotonic clock for QemuCond and 
QemuSemaphore", 2022-02-22)
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
Link: 
https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
(cherry picked from commit 79bc1771867723cb70dac0fae8f2c26fda1a635d)
Signed-off-by: Michael Tokarev <[email protected]>

diff --git a/meson.build b/meson.build
index 327c1e19f8..0fb949de14 100644
--- a/meson.build
+++ b/meson.build
@@ -2845,7 +2845,7 @@ config_host_data.set('CONFIG_PTHREAD_CONDATTR_SETCLOCK', 
cc.links(osdep_prefix +
 
   int main(void)
   {
-    pthread_condattr_t attr
+    pthread_condattr_t attr;
     pthread_condattr_init(&attr);
     pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
     return 0;
-- 
2.47.3


Reply via email to