mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
Replace two %d with %u's.
This commit is contained in:
parent
d1437245c7
commit
707a44a7b0
1 changed files with 2 additions and 2 deletions
|
@ -1434,7 +1434,7 @@ write_exit_stats(time_t when)
|
|||
< EXIT_STATS_THRESHOLD)) {
|
||||
uint32_t num = round_to_next_multiple_of(exit_streams[i],
|
||||
EXIT_STATS_ROUND_UP_STREAMS);
|
||||
if (fprintf(out, "%s%d=%d",
|
||||
if (fprintf(out, "%s%d=%u",
|
||||
comma++ ? "," : "", i, num)<0)
|
||||
goto done;
|
||||
} else
|
||||
|
@ -1443,7 +1443,7 @@ write_exit_stats(time_t when)
|
|||
}
|
||||
other_streams = round_to_next_multiple_of(other_streams,
|
||||
EXIT_STATS_ROUND_UP_STREAMS);
|
||||
if (fprintf(out, "%sother=%d\n",
|
||||
if (fprintf(out, "%sother=%u\n",
|
||||
comma ? "," : "", other_streams)<0)
|
||||
goto done;
|
||||
/* Reset counters */
|
||||
|
|
Loading…
Add table
Reference in a new issue