summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cxx b/main.cxx
index 1baced14..4a845620 100644
--- a/main.cxx
+++ b/main.cxx
@@ -418,7 +418,7 @@ void parse_kernel_config (systemtap_session &s)
static string
getmemusage ()
{
- static int sz = getpagesize();
+ static long sz = sysconf(_SC_PAGESIZE);
long pages, kb;
ostringstream oss;