X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_tune.c;h=89559af7a51f71c17996ee39e377e12386ba59e0;hb=59525f3de81d5f6a9c5e5fc3a6662fa7e074163f;hp=4975d2100b9aa902c280bb3e3a69602acb451968;hpb=219fd9224e3117dcf59df8818d4e9e3eab26022a;p=rrdtool.git diff --git a/src/rrd_tune.c b/src/rrd_tune.c index 4975d21..89559af 100644 --- 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);