diff options
| -rw-r--r-- | xlators/debug/io-stats/src/io-stats.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index 5656e32a4f5..c046aaae181 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -3167,7 +3167,7 @@ _ios_dump_thread (xlator_t *this) {                   * just hold it open and rewind/truncate on each iteration.                   * Leaving it alone for now.                   */ -                stats_logfp = fopen (stats_filename, "a+"); +                stats_logfp = fopen (stats_filename, "w+");                  if (stats_logfp) {                          (void) ios_dump_args_init (&args,                                                     conf->dump_format,  | 
