Commit 71b981f3 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Use %ju for uintmax_t printf

parent a434ce46
......@@ -288,7 +288,7 @@ fmt_bytes(struct cli *cli, uintmax_t t)
const char *p;
if (t & 0xff) {
VCLI_Out(cli, "%zub", t);
VCLI_Out(cli, "%jub", t);
return;
}
for (p = "kMGTPEZY"; *p; p++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment