From 317b3c8b1bd5cdb1f2bd02c94d536fa853321bc6 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 3 Oct 2011 21:47:27 +0200 Subject: [PATCH] server: silence mem debug warning Signed-off-by: Jens Axboe --- server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.c b/server.c index 4edb7e84..74f5e6ad 100644 --- a/server.c +++ b/server.c @@ -480,6 +480,8 @@ void fio_server_send_ts(struct thread_stat *ts, struct group_run_stats *rs) struct cmd_ts_pdu p; int i, j; + memset(&p, 0, sizeof(p)); + strcpy(p.ts.name, ts->name); strcpy(p.ts.verror, ts->verror); strcpy(p.ts.description, ts->description); -- 2.25.1