From: Jens Axboe Date: Mon, 3 Oct 2011 19:47:27 +0000 (+0200) Subject: server: silence mem debug warning X-Git-Tag: fio-1.99~43 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=317b3c8b1bd5cdb1f2bd02c94d536fa853321bc6;p=fio.git server: silence mem debug warning Signed-off-by: Jens Axboe --- 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);