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