Commit 50aa0d6b authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Cosmetic changes to statistic dump routines.

parent 5a76a8d4
......@@ -16,7 +16,7 @@
#include "log.h"
#include "exp.h"
static u_long no_of_allocated_blocks = 0;
static int no_of_allocated_blocks = 0;
/*
* "safe" malloc. Handles the case when malloc returns NULL.
......@@ -179,6 +179,7 @@ free_all_tmp(void)
EXPORT void
dump_smalloc_counts(FILE *stat_file)
{
fprintf(stat_file, "Allocated blocks (grand total): %lu\n",
fprintf(stat_file, "---ram-smalloc.c:\n"
"\tAllocated blocks (grand total): %d\n",
no_of_allocated_blocks);
}
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