projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove format strings warnings when compiling on 32 bits
[lttng-tools.git]
/
lttng
/
commands
/
enable_channels.c
diff --git
a/lttng/commands/enable_channels.c
b/lttng/commands/enable_channels.c
index 1878096bf511bef95c50ba45dfdae70ce8c22b66..efd075b95e29c7169fe9c15ee59412714dc42b65 100644
(file)
--- a/
lttng/commands/enable_channels.c
+++ b/
lttng/commands/enable_channels.c
@@
-24,6
+24,7
@@
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
+#include <inttypes.h>
#include "../cmd.h"
#include "../conf.h"
#include "../cmd.h"
#include "../conf.h"
@@
-197,11
+198,11
@@
int cmd_enable_channels(int argc, const char **argv)
break;
case OPT_SUBBUF_SIZE:
chan.attr.subbuf_size = atol(poptGetOptArg(pc));
break;
case OPT_SUBBUF_SIZE:
chan.attr.subbuf_size = atol(poptGetOptArg(pc));
- DBG("Channel subbuf size set to %
lu"
, chan.attr.subbuf_size);
+ DBG("Channel subbuf size set to %
" PRIu64
, chan.attr.subbuf_size);
break;
case OPT_NUM_SUBBUF:
chan.attr.num_subbuf = atoi(poptGetOptArg(pc));
break;
case OPT_NUM_SUBBUF:
chan.attr.num_subbuf = atoi(poptGetOptArg(pc));
- DBG("Channel subbuf num set to %
lu"
, chan.attr.num_subbuf);
+ DBG("Channel subbuf num set to %
" PRIu64
, chan.attr.num_subbuf);
break;
case OPT_SWITCH_TIMER:
chan.attr.switch_timer_interval = atoi(poptGetOptArg(pc));
break;
case OPT_SWITCH_TIMER:
chan.attr.switch_timer_interval = atoi(poptGetOptArg(pc));
This page took
0.023008 seconds
and
4
git commands to generate.