projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: test_benchmark: do not match "CPU(s) scaling MHz:"
[lttng-ust.git]
/
tests
/
unit
/
libringbuffer
/
shm.c
diff --git
a/tests/unit/libringbuffer/shm.c
b/tests/unit/libringbuffer/shm.c
index 13c74c3dc9dabd518342a0c8ffefaa5665d4883a..8b78da254672781b2dfcb1f689376c162230b346 100644
(file)
--- a/
tests/unit/libringbuffer/shm.c
+++ b/
tests/unit/libringbuffer/shm.c
@@
-34,12
+34,12
@@
int main(void)
ok(shmfd > 0, "Open a POSIX shm fd");
/* Create a dummy shm object table to test the allocation function */
ok(shmfd > 0, "Open a POSIX shm fd");
/* Create a dummy shm object table to test the allocation function */
- table = shm_object_table_create(1);
+ table = shm_object_table_create(1
, false
);
ok(table, "Create a shm object table");
assert(table);
/* This function sets the initial size of the shm with ftruncate and zeros it */
ok(table, "Create a shm object table");
assert(table);
/* This function sets the initial size of the shm with ftruncate and zeros it */
- shmobj = shm_object_table_alloc(table, shmsize, SHM_OBJECT_SHM, shmfd, -1);
+ shmobj = shm_object_table_alloc(table, shmsize, SHM_OBJECT_SHM, shmfd, -1
, false
);
ok(shmobj, "Allocate the shm object table");
assert(shmobj);
ok(shmobj, "Allocate the shm object table");
assert(shmobj);
This page took
0.025233 seconds
and
4
git commands to generate.