diff options
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r-- | src/or/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c index a3ea9cce0b..5ff2f5827b 100644 --- a/src/or/hibernate.c +++ b/src/or/hibernate.c @@ -588,7 +588,7 @@ accounting_record_bandwidth_usage(time_t now, or_state_t *state) U64_PRINTF_ARG(ROUND_UP(n_bytes_written_in_interval)), (unsigned long)n_seconds_active_in_interval, (unsigned long)expected); - tor_snprintf(fname, sizeof(fname), "%s/bw_accounting", + tor_snprintf(fname, sizeof(fname), "%s"PATH_SEPARATOR"bw_accounting", get_options()->DataDirectory); if (!get_options()->AvoidDiskWrites || (last_recorded + 3600 < now)) { r = write_str_to_file(fname, buf, 0); |