summaryrefslogtreecommitdiff
path: root/src/cgls/cgls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgls/cgls.c')
-rw-r--r--src/cgls/cgls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index c3229ad2d3..c689b5c471 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -156,7 +156,9 @@ int main(int argc, char *argv[]) {
for (i = optind; i < argc; i++) {
int q;
- printf("%s:\n", argv[i]);
+
+ fprintf(stdout, "%s:\n", argv[i]);
+ fflush(stdout);
if (arg_machine)
root = strjoin("machine/", arg_machine, "/", argv[i], NULL);