projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: print format type mismatch warnings on 32-bit
[babeltrace.git]
/
formats
/
lttng-live
/
lttng-live-comm.c
diff --git
a/formats/lttng-live/lttng-live-comm.c
b/formats/lttng-live/lttng-live-comm.c
index cbbeef2e77411e0fef0d5e0ac930e5a16bcf7c3c..5ae743b1055b0d557a31cfeabc46a7edfee6e740 100644
(file)
--- a/
formats/lttng-live/lttng-live-comm.c
+++ b/
formats/lttng-live/lttng-live-comm.c
@@
-681,8
+681,8
@@
retry:
goto error;
}
if (ret_len != sizeof(rp)) {
goto error;
}
if (ret_len != sizeof(rp)) {
- fprintf(stderr, "[error] get_data_packet: expected %
" PRId64
- ", received %
" PRId64 "
\n", sizeof(rp),
+ fprintf(stderr, "[error] get_data_packet: expected %
zu"
+ ", received %
zd
\n", sizeof(rp),
ret_len);
goto error;
}
ret_len);
goto error;
}
@@
-1656,7
+1656,7
@@
int lttng_live_read(struct lttng_live_ctx *ctx)
for (i = 0; i < ctx->session_ids->len; i++) {
id = g_array_index(ctx->session_ids, uint64_t, i);
for (i = 0; i < ctx->session_ids->len; i++) {
id = g_array_index(ctx->session_ids, uint64_t, i);
- printf_verbose("Attaching to session %
lu
\n", id);
+ printf_verbose("Attaching to session %
" PRIu64 "
\n", id);
ret = lttng_live_attach_session(ctx, id);
printf_verbose("Attaching session returns %d\n", ret);
if (ret < 0) {
ret = lttng_live_attach_session(ctx, id);
printf_verbose("Attaching session returns %d\n", ret);
if (ret < 0) {
This page took
0.025261 seconds
and
4
git commands to generate.