aboutsummaryrefslogtreecommitdiff
path: root/databases/rrdtool/files/patch-src-rrd_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/rrdtool/files/patch-src-rrd_open.c')
-rw-r--r--databases/rrdtool/files/patch-src-rrd_open.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/databases/rrdtool/files/patch-src-rrd_open.c b/databases/rrdtool/files/patch-src-rrd_open.c
index af5bc71a9e5b..25ec5cd28ab8 100644
--- a/databases/rrdtool/files/patch-src-rrd_open.c
+++ b/databases/rrdtool/files/patch-src-rrd_open.c
@@ -1,12 +1,12 @@
---- src/rrd_open.c.orig 2008-06-30 12:52:29.000000000 +0800
-+++ src/rrd_open.c 2008-06-30 12:53:14.000000000 +0800
-@@ -388,9 +388,6 @@
+--- ./src/rrd_open.c.orig 2009-12-01 23:21:20.000000000 +0000
++++ ./src/rrd_open.c 2009-12-01 23:22:41.000000000 +0000
+@@ -552,9 +552,6 @@
int ret;
#ifdef HAVE_MMAP
-- ret = msync(rrd_file->file_start, rrd_file->file_len, MS_ASYNC);
+- ret = msync(rrd_simple_file->file_start, rrd_file->file_len, MS_ASYNC);
- if (ret != 0)
- rrd_set_error("msync rrd_file: %s", rrd_strerror(errno));
- ret = munmap(rrd_file->file_start, rrd_file->file_len);
+ ret = munmap(rrd_simple_file->file_start, rrd_file->file_len);
if (ret != 0)
rrd_set_error("munmap rrd_file: %s", rrd_strerror(errno));