From: 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-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aeadb80eea84f36a75ca2384cc79e977adf1b484;p=rrdtool-all.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@558 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_restore.c b/program/src/rrd_restore.c index cd88b935..ad53adf4 100644 --- a/program/src/rrd_restore.c +++ b/program/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; }