OSDN Git Service

Add the suffix_str back into the tracing file name
authorpeng.chen <peng.c.chen@intel.com>
Tue, 2 May 2017 03:03:32 +0000 (11:03 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 4 May 2017 15:00:36 +0000 (23:00 +0800)
Fix #44

va/va_trace.c

index ff7aa5d..4b43c87 100644 (file)
@@ -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;