projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: arguments in the wrong order for fd-limit
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
main.c
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index ff5749a119167c8cb74333da7583c8e48dfc51ca..edf52410fc699c2c8aaa38588b5b4bf8dc54a7c5 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-1551,7
+1551,7
@@
static void *thread_dispatch_ust_registration(void *data)
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
- lttng_fd_put(
1, LTTNG_FD_APPS
);
+ lttng_fd_put(
LTTNG_FD_APPS, 1
);
free(ust_cmd);
goto error;
}
free(ust_cmd);
goto error;
}
@@
-1565,7
+1565,7
@@
static void *thread_dispatch_ust_registration(void *data)
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
- lttng_fd_put(
1, LTTNG_FD_APPS
);
+ lttng_fd_put(
LTTNG_FD_APPS, 1
);
free(wait_node);
free(ust_cmd);
continue;
free(wait_node);
free(ust_cmd);
continue;
@@
-1613,7
+1613,7
@@
static void *thread_dispatch_ust_registration(void *data)
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
if (ret < 0) {
PERROR("close ust sock dispatch %d", ust_cmd->sock);
}
- lttng_fd_put(
1, LTTNG_FD_APPS
);
+ lttng_fd_put(
LTTNG_FD_APPS, 1
);
}
free(ust_cmd);
}
}
free(ust_cmd);
}
This page took
0.023712 seconds
and
4
git commands to generate.