aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-01 23:04:32 +0200
committerMattias Andrée <maandree@kth.se>2020-06-01 23:04:32 +0200
commit99272477537a9060e25da078a96319fcc1be5952 (patch)
tree209683efff78588518b3c451fd107da97cf08da1
parentFix typo and add rational for why the -a option (truncate arguments/outputs) is useful (diff)
downloadsctrace-99272477537a9060e25da078a96319fcc1be5952.tar.gz
sctrace-99272477537a9060e25da078a96319fcc1be5952.tar.bz2
sctrace-99272477537a9060e25da078a96319fcc1be5952.tar.xz
Always flush trace output
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--sctrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sctrace.c b/sctrace.c
index 2f3b5a8..8a9972b 100644
--- a/sctrace.c
+++ b/sctrace.c
@@ -276,6 +276,7 @@ main(int argc, char **argv)
}
}
+ fflush(outfp);
}
fflush(outfp);