projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: don't SIGBUS when filesystem is full
[lttng-ust.git]
/
tests
/
ust-multi-test
/
ust-multi-test.c
diff --git
a/tests/ust-multi-test/ust-multi-test.c
b/tests/ust-multi-test/ust-multi-test.c
index f2deefa40158c0f7d78bbac18fe01e30b7605625..3f0cf1d565cfc21b674da14e9fbedec26b5e5e12 100644
(file)
--- a/
tests/ust-multi-test/ust-multi-test.c
+++ b/
tests/ust-multi-test/ust-multi-test.c
@@
-42,6
+42,7
@@
#include <ust-comm.h>
#include <../../libringbuffer/backend.h>
#include <../../libringbuffer/frontend.h>
#include <ust-comm.h>
#include <../../libringbuffer/backend.h>
#include <../../libringbuffer/frontend.h>
+#include "../../liblttng-ust/compat.h" /* For ENODATA */
#define NR_SESSIONS 4
#define NR_CHANNELS 1
#define NR_SESSIONS 4
#define NR_CHANNELS 1
@@
-229,7
+230,7
@@
int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile)
}
/* copy */
}
/* 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");
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
if (outfd < 0) {
perror("open output");
This page took
0.023911 seconds
and
4
git commands to generate.