Remove ambgiuity in format specifier
Bug: 302163991
Test: m trusty-coverage-controller
Change-Id: I26318eeb4a6770bd01d3c677ca3cf5c76ce33fa0
diff --git a/trusty/utils/coverage-controller/controller.cpp b/trusty/utils/coverage-controller/controller.cpp
index 0047046..381a452 100644
--- a/trusty/utils/coverage-controller/controller.cpp
+++ b/trusty/utils/coverage-controller/controller.cpp
@@ -54,7 +54,7 @@
if (complete_cnt != counters[index] && start_cnt == complete_cnt) {
WRITE_ONCE(control->cntrl_flags, FLAG_NONE);
std::string filename;
- filename = android::base::StringPrintf("/%s.%lu.profraw",
+ filename = android::base::StringPrintf("/%s.%" PRIu64 ".profraw",
uuid_list_[index].c_str(),
counters[index]);
filename.insert(0, output_dir);