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