projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d22fc1e
)
Fix compiler warning about mismatch with format type.
author
Justin Pettit
<jpettit@nicira.com>
Sat, 10 May 2008 07:37:41 +0000
(
00:37
-0700)
committer
Justin Pettit
<jpettit@nicira.com>
Sat, 10 May 2008 07:37:41 +0000
(
00:37
-0700)
lib/fault.c
patch
|
blob
|
history
diff --git
a/lib/fault.c
b/lib/fault.c
index 2377b5361563a1443bb2f08e1ece54f97bdb1804..0967f7dbbe33bd9a345b7adfde3334c2f0f6ed84 100644
(file)
--- 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%
l
x)\n",
+ fprintf(stderr, " 0x%08"PRIxPTR" (%s+0x%x)\n",
(uintptr_t) frame[1], addrinfo.dli_sname,
(char *) frame[1] - (char *) addrinfo.dli_saddr);
}