projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- rrd_open() calculates file size for new files and calls mmap once for
[rrdtool.git]
/
src
/
rrd_tune.c
diff --git
a/src/rrd_tune.c
b/src/rrd_tune.c
index
4975d21
..
89559af
100644
(file)
--- a/
src/rrd_tune.c
+++ b/
src/rrd_tune.c
@@
-98,6
+98,7
@@
int rrd_tune(
opterr = 0; /* initialize getopt */
+ rrd_init(&rrd);
rrd_file = rrd_open(argv[1], &rrd, RRD_READWRITE);
if (rrd_file == NULL) {
rrd_free(&rrd);