FreeCalypso > hg > freecalypso-reveng
diff blobstat/output.c @ 295:99f72069d867
blobstat: actually works now
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 21 Sep 2019 21:25:09 +0000 |
parents | ff2a6433687f |
children |
line wrap: on
line diff
--- a/blobstat/output.c Sat Sep 21 21:17:29 2019 +0000 +++ b/blobstat/output.c Sat Sep 21 21:25:09 2019 +0000 @@ -14,7 +14,7 @@ total += p->accum; printf("total: 0x%lX (%lu) bytes\n", total, total); for (p = category_list; p; p = p->next) - printf("%s: 0x%lX (%lu) bytes, %u%% of total\n", p->accum, - p->accum, p->accum * 100 / total); + printf("%s: 0x%lX (%lu) bytes, %lu%% of total\n", p->name, + p->accum, p->accum, p->accum * 100 / total); return(0); }