From: Justin Pettit Date: Sat, 10 May 2008 07:37:41 +0000 (-0700) Subject: Fix compiler warning about mismatch with format type. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb8ec3bab854482588d31d0de63da92556265b95;p=openvswitch Fix compiler warning about mismatch with format type. --- diff --git a/lib/fault.c b/lib/fault.c index 2377b536..0967f7db 100644 --- a/lib/fault.c +++ b/lib/fault.c @@ -70,7 +70,7 @@ log_backtrace(void) if (!dladdr(frame[1], &addrinfo) || !addrinfo.dli_sname) { fprintf(stderr, " 0x%08"PRIxPTR"\n", (uintptr_t) frame[1]); } else { - fprintf(stderr, " 0x%08"PRIxPTR" (%s+0x%lx)\n", + fprintf(stderr, " 0x%08"PRIxPTR" (%s+0x%x)\n", (uintptr_t) frame[1], addrinfo.dli_sname, (char *) frame[1] - (char *) addrinfo.dli_saddr); }