projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
action-executor: consider action firing policy on action execution
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
snapshot.c
diff --git
a/src/bin/lttng/commands/snapshot.c
b/src/bin/lttng/commands/snapshot.c
index d357983107ed3312357c74199d272e3a4136694c..8f44b9f1c189aeb893e3f8baf3883177fb880629 100644
(file)
--- a/
src/bin/lttng/commands/snapshot.c
+++ b/
src/bin/lttng/commands/snapshot.c
@@
-19,7
+19,7
@@
#include <common/utils.h>
#include <common/mi-lttng.h>
#include <common/utils.h>
#include <common/mi-lttng.h>
-#include <lttng/
snapshot
.h>
+#include <lttng/
lttng
.h>
#include "../command.h"
#include "../command.h"
@@
-624,10
+624,10
@@
int cmd_snapshot(int argc, const char **argv)
case OPT_MAX_SIZE:
{
uint64_t val;
case OPT_MAX_SIZE:
{
uint64_t val;
- const char *opt = poptGetOptArg(pc);
+ const char *opt
arg
= poptGetOptArg(pc);
- if (utils_parse_size_suffix((char *) opt, &val) < 0) {
- ERR("Unable to handle max-size value %s", opt);
+ if (utils_parse_size_suffix((char *) opt
arg
, &val) < 0) {
+ ERR("Unable to handle max-size value %s", opt
arg
);
cmd_ret = CMD_ERROR;
goto end;
}
cmd_ret = CMD_ERROR;
goto end;
}
This page took
0.03496 seconds
and
4
git commands to generate.