commit | 265fabd8ce3a91436e060b1884d00e46d6a96d6f | [log] [tgz] |
---|---|---|
author | Chris Mason <clm@fb.com> | Wed Sep 24 09:44:45 2014 -0700 |
committer | Chris Mason <clm@fb.com> | Wed Sep 24 12:02:09 2014 -0700 |
tree | 0ca41e3b933abdeb0cdb64ef2273e5d0ccb0017a | |
parent | 177d648bdd959ad4de02ca07aece5e6053682816 [diff] |
iowatcher: Properly initialize trace.name in find_trace_file Signed-off-by: Chris Mason <clm@fb.com>
diff --git a/iowatcher/blkparse.c b/iowatcher/blkparse.c index 83e707a..ef33d5b 100644 --- a/iowatcher/blkparse.c +++ b/iowatcher/blkparse.c
@@ -875,7 +875,7 @@ */ dot = strrchr(filename, '.'); if (!dot || strcmp(".dump", dot) != 0) { - struct tracelist trace = {0}; + struct tracelist trace = {0 ,NULL}; if (dot && dot != filename) len = dot - filename;