Cleanup: remove unused return value warning from tests
[urcu.git] / tests / benchmark / test_urcu_wfq.c
index 07ab72b4d5870a808137f5cbba39bc9bdd8857ad..979f765dc1e357c00f1f20534844f2014af2312a 100644 (file)
@@ -349,8 +349,10 @@ int main(int argc, char **argv)
 
        for (i = 0; i < duration; i++) {
                sleep(1);
-               if (verbose_mode)
-                       write (1, ".", 1);
+               if (verbose_mode) {
+                       fwrite(".", sizeof(char), 1, stdout);
+                       fflush(stdout);
+               }
        }
 
        test_stop = 1;
This page took 0.02266 seconds and 4 git commands to generate.