summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd4f4fc)
raw | patch | inline | side by side (parent: dd4f4fc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 Mar 2008 22:56:41 +0000 (22:56 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 Mar 2008 22:56:41 +0000 (22:56 +0000) |
src/rrd_open.c | patch | blob | history |
diff --git a/src/rrd_open.c b/src/rrd_open.c
index 87fd76669e727ec08e8d5c15095c72ce42b91d09..4acaa8fd13fa4618e7a2b47393941132f1aa596d 100644 (file)
--- a/src/rrd_open.c
+++ b/src/rrd_open.c
}
+#if defined DEBUG && DEBUG > 1
/* Print list of in-core pages of a the current rrd_file. */
static
void mincore_print(
fprintf(stderr, "sorry mincore only works with mmap");
#endif
}
+#endif /* defined DEBUG && DEBUG > 1 */
/* drop cache except for the header and the active pages */