src/mem.c: Fix putchar() parameter
putchar() expects a single character, not a string. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
parent
1c442e6aef
commit
b4d5316125
@ -304,7 +304,7 @@ mem_stats (void)
|
|||||||
printf (_(" number of calls: %u\n"), mstats.ncall);
|
printf (_(" number of calls: %u\n"), mstats.ncall);
|
||||||
printf (_(" allocated blocks: %u\n"), mstats.nalloc);
|
printf (_(" allocated blocks: %u\n"), mstats.nalloc);
|
||||||
printf (_(" unfreed blocks: %u\n"), mstats.nalloc - mstats.nfree);
|
printf (_(" unfreed blocks: %u\n"), mstats.nalloc - mstats.nfree);
|
||||||
putchar ("\n");
|
putchar ('\n');
|
||||||
|
|
||||||
if (mstats.nfree < mstats.nalloc)
|
if (mstats.nfree < mstats.nalloc)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user