hardware/intel/common/libva
Révision | f5de9becf366fb44d94702eef01064021eb8044f (tree) |
---|---|
l'heure | 2017-06-12 10:41:01 |
Auteur | peng.chen <peng.c.chen@inte...> |
Commiter | Xiang, Haihao |
Add the suffix_str back into the tracing file name
Fix #44
(cherry picked from commit bd949b77e8f0226a746b5fc2002b01a0e9ea1f2e)
@@ -504,7 +504,7 @@ static void FILE_NAME_SUFFIX( | ||
504 | 504 | int size = 0; |
505 | 505 | |
506 | 506 | if (suffix_str) |
507 | - strlen(suffix_str); | |
507 | + size = strlen(suffix_str); | |
508 | 508 | |
509 | 509 | if(left < (size + 8 + 10)) |
510 | 510 | return; |