diff --git a/program/src/rrd_tune.c b/program/src/rrd_tune.c
index 3f596a047f9ad09b5401eee476356d5af051e046..3aba46dcfdc5e4cdba7fb9571e27cc4d6306f263 100644 (file)
--- a/program/src/rrd_tune.c
+++ b/program/src/rrd_tune.c
/*****************************************************************************
- * RRDtool 1.2rc4 Copyright by Tobi Oetiker, 1997-2005
+ * RRDtool 1.2.9 Copyright by Tobi Oetiker, 1997-2005
*****************************************************************************
* change header parameters of an rrd
*****************************************************************************
double min;
double max;
char dst[DST_SIZE];
+ optind = 0; opterr = 0; /* initialize getopt */
if(rrd_open(argv[1],&rrd_file,&rrd, RRD_READWRITE)==-1){