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.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=413fdcdf1a87c7380e17f5f943b353353c65d760;hp=5e060d8a49301fee5681969c8771473dd024cb98 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 cd88b93..ad53adf 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; }