diff options
author | eschnett <eschnett@d0051148-8e13-4bef-be1d-f6c572c85f9f> | 2010-09-30 18:03:23 +0000 |
---|---|---|
committer | eschnett <eschnett@d0051148-8e13-4bef-be1d-f6c572c85f9f> | 2010-09-30 18:03:23 +0000 |
commit | a23532369bff085908194a5f3b42abadf144dc8c (patch) | |
tree | 8d3b5efeb0b89df640f32ec7788fe5727c0e1e64 | |
parent | ac70cc49039fe8b9c6c6618534fff7a9eb0108ab (diff) |
Output clock name and clock unit to the correct file for .tsv output
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/TimerReport/trunk@34 d0051148-8e13-4bef-be1d-f6c572c85f9f
-rw-r--r-- | src/Output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Output.c b/src/Output.c index 49845ed..f0c51b8 100644 --- a/src/Output.c +++ b/src/Output.c @@ -363,8 +363,8 @@ static void OutputAllTimersTogether (CCTK_ARGUMENTS) fprintf(file_csv, "\"Unit seconds\"\n"); free (all_timers_clock_csv); char *const all_timers_clock_tsv = QuoteForTSV(all_timers_clock); - fprintf(file, "Clock %s\t", all_timers_clock_tsv); - fprintf(file, "Unit seconds\n"); + fprintf(file_tsv, "Clock %s\t", all_timers_clock_tsv); + fprintf(file_tsv, "Unit seconds\n"); free (all_timers_clock_tsv); } /* If the number of timers has changed, output the header |