Cleanup: remove unused return value warning from tests
[urcu.git] / tests / benchmark / test_urcu_lfs.c
index 723e4a44c8e004b9629ea8c4d769e8ec244b60e7..21015328828009fb450df465578f61af546fe013 100644 (file)
@@ -465,8 +465,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.02456 seconds and 4 git commands to generate.