Merge branch 'ew/svn'
[gitweb.git] / builtin-rev-list.c
index 813aadf596df7fe2e61517915707717120842d74..86db8b03fe4295497cf011a75617d6dc8f172c64 100644 (file)
@@ -100,7 +100,7 @@ static void show_commit(struct commit *commit)
                printf("%s%c", buf, hdr_termination);
                free(buf);
        }
-       fflush(stdout);
+       maybe_flush_or_die(stdout, "stdout");
        if (commit->parents) {
                free_commit_list(commit->parents);
                commit->parents = NULL;