backtrace: Fix 32-bit libunwind build.
The libunwind unw_word_t type is defined as uint32_t for 32-bit
system and uint64_t for 64-bit system.  The patch fixes the
compile error using PRIxPTR to print this value.
Fixes: ("fatal-signal: Catch SIGSEGV and print backtrace.")
Acked-by: Ilya Maximets
@@ -102,7 +102,7 @@ log_received_backtrace(int fd) {
if (backtrace[i].func[0] == 0) {
break;
}
- VLOG_WARN("0x%016lx <%s+0x%lx>\n",
+ VLOG_WARN("0x%016"PRIxPTR" <%s+0x%"PRIxPTR">\n",
backtrace[i].ip,
backtrace[i].func,
backtrace[i].offset);
