Fix compiler warning about mismatch with format type.
authorJustin Pettit <jpettit@nicira.com>
Sat, 10 May 2008 07:37:41 +0000 (00:37 -0700)
committerJustin Pettit <jpettit@nicira.com>
Sat, 10 May 2008 07:37:41 +0000 (00:37 -0700)
lib/fault.c

index 2377b53..0967f7d 100644 (file)
@@ -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); 
         }