X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fmain.c;fp=src%2Fbin%2Flttng-sessiond%2Fmain.c;h=4effb3ce9f4cc703ff8c8e498b59ee63933e8939;hp=868f9a4a9261cff9e68458d2e0c33ba9aa1f12fa;hb=81663f073dbfb4b61c06a0ceb8ca33c4fc41b1c5;hpb=1cbd136b2479ef142bfb339b13d3d25aa772dda5 diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 868f9a4a9..4effb3ce9 100644 --- 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; } - the_page_size = sysconf(_SC_PAGESIZE); + the_page_size = sysconf(_SC_PAGE_SIZE); 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); }