static int write_error_statistics(char *prefix, struct error_statistics *stats,
				  char *suffix, char **buf, unsigned int *maxlen)
static void write_error_statistics(char *prefix, struct error_statistics *stats,
				   char *suffix, char **buf, unsigned int *maxlen)