1
0
Fork 0
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:
Luukas Pörtfors 2022-10-08 22:10:47 +03:00 committed by GitHub
parent aeaa6ca52f
commit f8fdc6a828
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1955,7 +1955,7 @@ static void printSessionStats(tr_variant* top)
tr_variantDictFindInt(d, TR_KEY_downloadedBytes, &down) && tr_variantDictFindInt(d, TR_KEY_secondsActive, &secs))
{
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(" Downloaded: {:s}\n", strlsize(down));
fmt::print(" Ratio: {:s}\n", strlratio(up, down));