projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: always use sysconf to get the page size
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
main.c
diff --git
a/src/bin/lttng-sessiond/main.c
b/src/bin/lttng-sessiond/main.c
index 868f9a4a9261cff9e68458d2e0c33ba9aa1f12fa..4effb3ce9f4cc703ff8c8e498b59ee63933e8939 100644
(file)
--- a/
src/bin/lttng-sessiond/main.c
+++ b/
src/bin/lttng-sessiond/main.c
@@
-1472,9
+1472,9
@@
int main(int argc, char **argv)
goto exit_set_signal_handler;
}
goto exit_set_signal_handler;
}
- the_page_size = sysconf(_SC_PAGESIZE);
+ the_page_size = sysconf(_SC_PAGE
_
SIZE);
if (the_page_size < 0) {
if (the_page_size < 0) {
- PERROR("sysconf _SC_PAGESIZE");
+ PERROR("sysconf _SC_PAGE
_
SIZE");
the_page_size = LONG_MAX;
WARN("Fallback page size to %ld", the_page_size);
}
the_page_size = LONG_MAX;
WARN("Fallback page size to %ld", the_page_size);
}
This page took
0.024123 seconds
and
4
git commands to generate.