X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fust-multi-test%2Fust-multi-test.c;h=dc91b847e39abbc5a210eb3a318c8c990d0f1425;hb=c993aa602df5d770ea1da811c4f7f643dde1ed34;hp=068f59cf643c25816f6b1f81106a3cd42f9ebae7;hpb=e5757a9047b04cb2fb94d9dfdf7153e963eafa95;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 068f59cf..dc91b847 100644 --- a/tests/ust-multi-test/ust-multi-test.c +++ b/tests/ust-multi-test/ust-multi-test.c @@ -28,6 +28,8 @@ #include #include #include +#include +#include #include #include #include @@ -228,7 +230,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile) } /* copy */ - outfd = open(outfile, O_WRONLY | O_CREAT | O_LARGEFILE | O_TRUNC, + outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); if (outfd < 0) { perror("open output");