projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: 32-bit print format type mismatch warnings
[lttng-tools.git]
/
src
/
common
/
ust-consumer
/
ust-consumer.c
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index 486ca26342e57077f4eca2b33e18720932d26686..3024af4a75157b92a46a67014800b9eab66c8e64 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-27,6
+27,7
@@
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
+#include <inttypes.h>
#include <unistd.h>
#include <common/common.h>
#include <unistd.h>
#include <common/common.h>
@@
-305,7
+306,7
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
consumer_add_stream(new_stream);
}
consumer_add_stream(new_stream);
}
- DBG("UST consumer_add_stream %s (%d,%d) with relayd id %
lu"
,
+ DBG("UST consumer_add_stream %s (%d,%d) with relayd id %
" PRIu64
,
msg.u.stream.path_name, fds[0], fds[1],
new_stream->relayd_stream_id);
break;
msg.u.stream.path_name, fds[0], fds[1],
new_stream->relayd_stream_id);
break;
@@
-314,13
+315,13
@@
int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx,
{
struct consumer_relayd_sock_pair *relayd;
{
struct consumer_relayd_sock_pair *relayd;
- DBG("UST consumer destroying relayd %
zu"
,
+ DBG("UST consumer destroying relayd %
" PRIu64
,
msg.u.destroy_relayd.net_seq_idx);
/* Get relayd reference if exists. */
relayd = consumer_find_relayd(msg.u.destroy_relayd.net_seq_idx);
if (relayd == NULL) {
msg.u.destroy_relayd.net_seq_idx);
/* Get relayd reference if exists. */
relayd = consumer_find_relayd(msg.u.destroy_relayd.net_seq_idx);
if (relayd == NULL) {
- ERR("Unable to find relayd %
zu"
, msg.u.destroy_relayd.net_seq_idx);
+ ERR("Unable to find relayd %
" PRIu64
, msg.u.destroy_relayd.net_seq_idx);
goto end_nosignal;
}
goto end_nosignal;
}
This page took
0.025612 seconds
and
4
git commands to generate.