projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port: Add bt_common_get_page_size
[babeltrace.git]
/
plugins
/
ctf
/
fs-src
/
fs.c
diff --git
a/plugins/ctf/fs-src/fs.c
b/plugins/ctf/fs-src/fs.c
index 0e199e92e773fbc165af731c6c2e9b28a532e9db..bcb3302657c71c3206652e35d5840a502d84ed3f 100644
(file)
--- a/
plugins/ctf/fs-src/fs.c
+++ b/
plugins/ctf/fs-src/fs.c
@@
-42,7
+42,6
@@
#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>
#include <assert.h>
#include <inttypes.h>
#include <stdbool.h>
-#include <unistd.h>
#include "fs.h"
#include "metadata.h"
#include "data-stream-file.h"
#include "fs.h"
#include "metadata.h"
#include "data-stream-file.h"
@@
-1277,7
+1276,7
@@
struct ctf_fs_component *ctf_fs_create(struct bt_private_component *priv_comp,
}
ctf_fs->error_fp = stderr;
}
ctf_fs->error_fp = stderr;
- ctf_fs->page_size =
(size_t) getpage
size();
+ ctf_fs->page_size =
bt_common_get_page_
size();
ctf_fs->port_data = g_ptr_array_new_with_free_func(port_data_destroy);
if (!ctf_fs->port_data) {
goto error;
ctf_fs->port_data = g_ptr_array_new_with_free_func(port_data_destroy);
if (!ctf_fs->port_data) {
goto error;
This page took
0.033969 seconds
and
4
git commands to generate.