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 2377b5361563a1443bb2f08e1ece54f97bdb1804..0967f7dbbe33bd9a345b7adfde3334c2f0f6ed84 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); 
         }