aboutsummaryrefslogtreecommitdiff
path: root/lib/poll-loop.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-12-02 11:49:53 -0800
committerBen Pfaff <blp@nicira.com>2009-12-02 11:49:53 -0800
commit58fda1dab104041fc693032475ec4662c1a52849 (patch)
treec6adcb818ad9233155d4d65872e8144dae6fe723 /lib/poll-loop.c
parentc3bb4bd7f1d9c045a5e5d7062b09d4dac4e48195 (diff)
parent6c88d577e83db12f73df12be8fc575419b011fda (diff)
Merge "master" branch into "db".
Diffstat (limited to 'lib/poll-loop.c')
-rw-r--r--lib/poll-loop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/poll-loop.c b/lib/poll-loop.c
index 26a17e83..32bbc134 100644
--- a/lib/poll-loop.c
+++ b/lib/poll-loop.c
@@ -18,6 +18,7 @@
#include "poll-loop.h"
#include <assert.h>
#include <errno.h>
+#include <inttypes.h>
#include <poll.h>
#include <stdlib.h>
#include <string.h>
@@ -122,7 +123,7 @@ log_wakeup(const struct backtrace *backtrace, const char *format, ...)
ds_put_char(&ds, ':');
for (i = 0; i < backtrace->n_frames; i++) {
- ds_put_format(&ds, " 0x%x", backtrace->frames[i]);
+ ds_put_format(&ds, " 0x%"PRIxPTR, backtrace->frames[i]);
}
}
VLOG_DBG("%s", ds_cstr(&ds));