From: Tobias Oetiker Date: Sat, 14 May 2005 17:32:05 +0000 (+0000) Subject: added a note to dump old rrd files with a current rrdtool dump to get the upgraded... X-Git-Tag: 1.2.7~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a68052a922ba04d858a064230abd7b89ece1849c;p=thirdparty%2Frrdtool-1.x.git added a note to dump old rrd files with a current rrdtool dump to get the upgraded on the fly. Adding 001 support should not be all that tough though. Any takers ? git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@558 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_restore.c b/src/rrd_restore.c index cd88b935..ad53adf4 100644 --- a/src/rrd_restore.c +++ b/src/rrd_restore.c @@ -137,7 +137,7 @@ int xml2rrd(char* buf, rrd_t* rrd, char rc){ } if (atoi(rrd -> stat_head -> version) < 2) { - rrd_set_error("Can only restore version >= 2 (Not %s). Dump your rrd using a current rrdtool dump.", rrd -> stat_head -> version ); + rrd_set_error("Can only restore version >= 2 (Not %s). Dump your old rrd using a current rrdtool dump.", rrd -> stat_head -> version ); free(rrd -> stat_head); return -1; }