projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: lttng-crash: segfault when parsing options
[lttng-tools.git]
/
src
/
bin
/
lttng-crash
/
lttng-crash.c
diff --git
a/src/bin/lttng-crash/lttng-crash.c
b/src/bin/lttng-crash/lttng-crash.c
index 5ca85f3bd01dcc6bdb2a5a4121a07592c09d11d0..5d8e620f7a6474b4345ae30992218ffc1fbb0952 100644
(file)
--- a/
src/bin/lttng-crash/lttng-crash.c
+++ b/
src/bin/lttng-crash/lttng-crash.c
@@
-275,7
+275,7
@@
static int parse_args(int argc, char **argv)
exit(EXIT_FAILURE);
}
- while ((opt = getopt_long(argc, argv, "+Vhvex:", long_options, NULL)) != -1) {
+ while ((opt = getopt_long(argc, argv, "+Vhve
:
x:", long_options, NULL)) != -1) {
switch (opt) {
case 'V':
version(stdout);
This page took
0.023886 seconds
and
4
git commands to generate.