projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure we have enough room for the ETA runstr
[fio.git]
/
server.c
diff --git
a/server.c
b/server.c
index 8865502520cb7f1fe2a8315bf8c9c79c54e346a7..e20f5921b6b4994f30fef52ab3a75235db7a16cd 100644
(file)
--- a/
server.c
+++ b/
server.c
@@
-673,7
+673,7
@@
static int handle_send_eta_cmd(struct fio_net_cmd *cmd)
if (!thread_number)
return 0;
- size = sizeof(*je) +
thread_number * sizeof(char) + 1
;
+ size = sizeof(*je) +
THREAD_RUNSTR_SZ
;
je = malloc(size);
memset(je, 0, size);