diff --git a/src/symbolize.cc b/src/symbolize.cc index f1edd65f6..9e887cb10 100644 --- a/src/symbolize.cc +++ b/src/symbolize.cc @@ -249,8 +249,10 @@ bool GetSectionHeaderByName(int fd, const char *name, size_t name_len, } char header_name[kMaxSectionNameLen]; if (sizeof(header_name) < name_len) { - RAW_LOG(WARNING, "Section name '%s' is too long (%" PRIuS "); " - "section will not be found (even if present).", name, name_len); + RAW_LOG(WARNING, + "Section name '%s' is too long (%zu); " + "section will not be found (even if present).", + name, name_len); // No point in even trying. return false; }