mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fixed length of print buffer
This commit is contained in:
parent
6b4fd61817
commit
5502d36ade
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ double hist_stddev(struct hist *h)
|
|||
|
||||
void hist_print(struct hist *h)
|
||||
{ INDENT
|
||||
char buf[h->length * 8];
|
||||
char buf[(h->length + 1) * 8];
|
||||
hist_dump(h, buf, sizeof(buf));
|
||||
|
||||
info("Total: %u values between %f and %f", h->total, h->low, h->high);
|
||||
|
|
Loading…
Add table
Reference in a new issue