X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fust-multi-test%2Fust-multi-test.c;h=6f277a2176f28e016be2588c875ea8065e1e7829;hb=402147a0ffcc8fb0a1784a6d880fac318038e686;hp=015211c97357b97ce6dd349d84fb8457bcc62c9d;hpb=48137251d51074da54a37d0377a3d8b0b9773b85;p=lttng-ust.git diff --git a/tests/ust-multi-test/ust-multi-test.c b/tests/ust-multi-test/ust-multi-test.c index 015211c9..6f277a21 100644 --- a/tests/ust-multi-test/ust-multi-test.c +++ b/tests/ust-multi-test/ust-multi-test.c @@ -40,6 +40,7 @@ #include #include +#include #include <../../libringbuffer/backend.h> #include <../../libringbuffer/frontend.h> #include "../../liblttng-ust/compat.h" /* For ENODATA */ @@ -109,7 +110,7 @@ int open_streams(int sock, int channel_handle, struct lttng_ust_object_data *str } k++; } - if (ret == -ENOENT) + if (ret == -LTTNG_UST_ERR_NOENT) break; if (ret) return ret; @@ -813,6 +814,7 @@ int main(int argc, char **argv) pid_t ppid; uid_t uid; gid_t gid; + uint32_t bits_per_long; char name[16]; /* Process name */ } reg_msg; char bufname[17]; @@ -870,6 +872,7 @@ end: ret = system(cmd); if (ret < 0) { printf("Unable to clean %s\n", home_rundir); + return -1; } }