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
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index c1dadddb3dd08854bffd8eef8cca3e9a76e82bed..ea32af463417a81d3eb243ce9c91b0066915d0a0 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-27,6
+27,7
@@
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
+#include <inttypes.h>
#include <common/common.h>
#include <common/kernel-ctl/kernel-ctl.h>
#include <common/common.h>
#include <common/kernel-ctl/kernel-ctl.h>
@@
-1091,7
+1092,7
@@
static int write_relayd_metadata_id(int fd,
PERROR("write metadata stream id");
goto end;
}
PERROR("write metadata stream id");
goto end;
}
- DBG("Metadata stream id %
zu
written before data",
+ DBG("Metadata stream id %
" PRIu64 "
written before data",
stream->relayd_stream_id);
end:
stream->relayd_stream_id);
end:
@@
-1192,14
+1193,14
@@
ssize_t lttng_consumer_on_read_subbuffer_mmap(
}
goto end;
} else if (ret > len) {
}
goto end;
} else if (ret > len) {
- PERROR("Error in file write (ret %
l
d > len %lu)", ret, len);
+ PERROR("Error in file write (ret %
z
d > len %lu)", ret, len);
written += ret;
goto end;
} else {
len -= ret;
mmap_offset += ret;
}
written += ret;
goto end;
} else {
len -= ret;
mmap_offset += ret;
}
- DBG("Consumer mmap write() ret %
l
d (len %lu)", ret, len);
+ DBG("Consumer mmap write() ret %
z
d (len %lu)", ret, len);
/* This call is useless on a socket so better save a syscall. */
if (!relayd) {
/* This call is useless on a socket so better save a syscall. */
if (!relayd) {
This page took
0.023636 seconds
and
4
git commands to generate.