projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177d648
)
iowatcher: Properly initialize trace.name in find_trace_file
author
Chris Mason
<clm@fb.com>
Wed, 24 Sep 2014 16:44:45 +0000
(09:44 -0700)
committer
Chris Mason
<clm@fb.com>
Wed, 24 Sep 2014 19:02:09 +0000
(12:02 -0700)
Signed-off-by: Chris Mason <clm@fb.com>
iowatcher/blkparse.c
patch
|
blob
|
blame
|
history
diff --git
a/iowatcher/blkparse.c
b/iowatcher/blkparse.c
index 83e707a2ad10bb4239318836e16eb0bc209b3ca4..ef33d5be79a10e5780f01983724e20cc3900130b 100644
(file)
--- a/
iowatcher/blkparse.c
+++ b/
iowatcher/blkparse.c
@@
-875,7
+875,7
@@
static char *find_trace_file(char *filename)
*/
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;