correct variable type for ALOGD

Bug: 274858145
Test: build pass, adb bugreport
Change-Id: I42ad046e26cb227f947db3772532885114a3250e
This commit is contained in:
Adam Shih 2023-03-24 10:44:42 +08:00
parent 80f35504c2
commit f19c08e5a9

View file

@ -139,7 +139,7 @@ void Dumpstate::dumpLogSection(int fd, int fd_bin)
ssize_t result = TEMP_FAILURE_RETRY(write(fd_bin, buffer.data(), bytes_read));
if (result != bytes_read) {
ALOGD("Failed to write %ld bytes, actually written: %ld", bytes_read, result);
ALOGD("Failed to write %zd bytes, actually written: %zd", bytes_read, result);
break;
}
}