projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: apply suggested fixes
[lttng-tools.git]
/
tests
/
unit
/
test_unix_socket.cpp
diff --git
a/tests/unit/test_unix_socket.cpp
b/tests/unit/test_unix_socket.cpp
index e0af6e2969b4125417d0ec11d98659cac54ff32d..95a6173b8e75a15d9183348b34d2f350e10b1f09 100644
(file)
--- a/
tests/unit/test_unix_socket.cpp
+++ b/
tests/unit/test_unix_socket.cpp
@@
-70,7
+70,7
@@
static void test_high_fd_count(unsigned int fd_count)
for (i = 0; i < fd_count; i++) {
struct fd_handle *handle;
- int fd = fcntl(STDOUT_FILENO, F_DUPFD, 0);
+
const
int fd = fcntl(STDOUT_FILENO, F_DUPFD, 0);
if (fd < 0) {
PERROR("Failed to create fd while creating test payload");
This page took
0.023445 seconds
and
4
git commands to generate.