mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
remote: fix invalid format string (#3909)
This commit is contained in:
parent
aeaa6ca52f
commit
f8fdc6a828
1 changed files with 1 additions and 1 deletions
|
@ -1955,7 +1955,7 @@ static void printSessionStats(tr_variant* top)
|
||||||
tr_variantDictFindInt(d, TR_KEY_downloadedBytes, &down) && tr_variantDictFindInt(d, TR_KEY_secondsActive, &secs))
|
tr_variantDictFindInt(d, TR_KEY_downloadedBytes, &down) && tr_variantDictFindInt(d, TR_KEY_secondsActive, &secs))
|
||||||
{
|
{
|
||||||
fmt::print("\nTOTAL\n");
|
fmt::print("\nTOTAL\n");
|
||||||
fmt::print(" Started %lu times\n", (unsigned long)sessions);
|
fmt::print(" Started {:d} times\n", sessions);
|
||||||
fmt::print(" Uploaded: {:s}\n", strlsize(up));
|
fmt::print(" Uploaded: {:s}\n", strlsize(up));
|
||||||
fmt::print(" Downloaded: {:s}\n", strlsize(down));
|
fmt::print(" Downloaded: {:s}\n", strlsize(down));
|
||||||
fmt::print(" Ratio: {:s}\n", strlratio(up, down));
|
fmt::print(" Ratio: {:s}\n", strlratio(up, down));
|
||||||
|
|
Loading…
Reference in a new issue