summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeng.chen <peng.c.chen@intel.com>2017-05-02 11:03:32 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-06-12 09:41:01 +0800
commitf5de9becf366fb44d94702eef01064021eb8044f (patch)
tree24020219b814c066f06c671552cdfcbb5705096f
parent7b2f55537979b00bca1b902920c698f9eb5fd655 (diff)
downloadlibva-f5de9becf366fb44d94702eef01064021eb8044f.tar.gz
Add the suffix_str back into the tracing file name
Fix #44 (cherry picked from commit bd949b77e8f0226a746b5fc2002b01a0e9ea1f2e)
-rw-r--r--va/va_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/va/va_trace.c b/va/va_trace.c
index ff7aa5d..4b43c87 100644
--- a/va/va_trace.c
+++ b/va/va_trace.c
@@ -504,7 +504,7 @@ static void FILE_NAME_SUFFIX(
int size = 0;
if (suffix_str)
- strlen(suffix_str);
+ size = strlen(suffix_str);
if(left < (size + 8 + 10))
return;