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:
Lukas Fleischer 2012-04-06 23:51:13 +02:00
parent 1c442e6aef
commit b4d5316125

View File

@ -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)
{ {