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: add-trigger: erroneous null check on location return
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
add_trigger.c
diff --git
a/src/bin/lttng/commands/add_trigger.c
b/src/bin/lttng/commands/add_trigger.c
index 0c714d84962bcaf0d9a1b697bba27de0fefa1dc4..83fd1c4473c437897cf95caf08a49c999cf951f7 100644
(file)
--- a/
src/bin/lttng/commands/add_trigger.c
+++ b/
src/bin/lttng/commands/add_trigger.c
@@
-273,7
+273,7
@@
static int parse_kernel_probe_opts(const char *source,
address = strtoul(s_hex, NULL, 0);
*location = lttng_kernel_probe_location_address_create(address);
- if (!location) {
+ if (!
*
location) {
ERR("Failed to create symbol kernel probe location.");
goto error;
}
This page took
0.026168 seconds
and
4
git commands to generate.