From 413fdcdf1a87c7380e17f5f943b353353c65d760 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sat, 14 May 2005 17:32:05 +0000 Subject: [PATCH] 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 --- src/rrd_restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2