summaryrefslogtreecommitdiff
path: root/absl/debugging/symbolize_elf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/debugging/symbolize_elf.inc')
-rw-r--r--absl/debugging/symbolize_elf.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/absl/debugging/symbolize_elf.inc b/absl/debugging/symbolize_elf.inc
index 38092f56..1506f439 100644
--- a/absl/debugging/symbolize_elf.inc
+++ b/absl/debugging/symbolize_elf.inc
@@ -762,10 +762,9 @@ static ABSL_ATTRIBUTE_NOINLINE FindSymbolResult FindSymbol(
const ssize_t n_read = ReadFromOffset(fd, out, out_size, off);
if (n_read <= 0) {
// This should never happen.
- ABSL_RAW_LOG(
- WARNING,
- "Unable to read from fd %d at offset %" PRId64 ": n_read = %zd", fd,
- off, n_read);
+ ABSL_RAW_LOG(WARNING,
+ "Unable to read from fd %d at offset %lld: n_read = %zd", fd,
+ static_cast<long long>(off), n_read);
return SYMBOL_NOT_FOUND;
}
ABSL_RAW_CHECK(static_cast<size_t>(n_read) <= out_size,