Fix 32-bit dmabuf_dump build
Fixes: system/core/libmeminfo/libdmabufinfo/tools/dmabuf_dump.cpp:109:39: error: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat] Test: lunch aosp_arm-eng && m dmabuf_dump Change-Id: Ie605d9b94f5eff888f6a64801512216253a6babb
This commit is contained in:
parent
575996837c
commit
0a92453a14
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ static void PrintDmaBufInfo(const std::vector<DmaBuffer>& bufs) {
|
|||
|
||||
for (auto buf = bufs.begin(); buf != bufs.end(); ++buf) {
|
||||
|
||||
std::cout << ::android::base::StringPrintf("%16lu\t%10" PRIu64 "\t%lu\t",
|
||||
std::cout << ::android::base::StringPrintf("%16lu\t%10" PRIu64 "\t%" PRIu64 "\t",
|
||||
buf->inode(),buf->size(), buf->count());
|
||||
|
||||
memset(fds.get(), 0, sizeof(int) * pid_count);
|
||||
|
|
Loading…
Reference in a new issue