projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove lttng_event_rule_tracepoint
[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 22531e8f223070914cad1f37ad8bcbabc51fbae1..513257a3c43f8bf8785f60b5ec52fddbf1714d36 100644
(file)
--- a/
src/bin/lttng/commands/snapshot.c
+++ b/
src/bin/lttng/commands/snapshot.c
@@
-624,10
+624,11
@@
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 *
max_size_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 *) max_size_arg, &val) < 0) {
+ ERR("Unable to handle max-size value %s",
+ max_size_arg);
cmd_ret = CMD_ERROR;
goto end;
}
cmd_ret = CMD_ERROR;
goto end;
}
This page took
0.023502 seconds
and
4
git commands to generate.