projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: use BUG_ON instead of accessing array subscript above array bounds
[lttng-modules.git]
/
lttng-syscalls.c
diff --git
a/lttng-syscalls.c
b/lttng-syscalls.c
index 36efea47f0e4ec0e789fdec9f22ed3893f707e73..5fa66660b5f2532d715e80d90fb7c8feb6ec08ca 100644
(file)
--- a/
lttng-syscalls.c
+++ b/
lttng-syscalls.c
@@
-1290,10
+1290,6
@@
int lttng_abi_syscall_list(void)
if (ret < 0)
goto open_error;
fd_install(file_fd, syscall_list_file);
- if (file_fd < 0) {
- ret = file_fd;
- goto fd_error;
- }
return file_fd;
open_error:
This page took
0.024797 seconds
and
4
git commands to generate.