From 30cfc39e265409fe7334caccf4368f8b2d0ee486 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 15 Dec 2010 08:04:00 +0100 Subject: [PATCH] src/utils_rrdcreate.c: Convert vl->interval to seconds when creating RRD files. --- src/utils_rrdcreate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_rrdcreate.c b/src/utils_rrdcreate.c index ce6443b7..5b132388 100644 --- a/src/utils_rrdcreate.c +++ b/src/utils_rrdcreate.c @@ -416,7 +416,7 @@ int cu_rrd_create_file (const char *filename, /* {{{ */ stepsize = (int) CDTIME_T_TO_TIME_T (vl->interval); status = srrd_create (filename, - (cfg->stepsize > 0) ? cfg->stepsize : vl->interval, + (cfg->stepsize > 0) ? cfg->stepsize : CDTIME_T_TO_TIME_T (vl->interval), last_up, argc, (const char **) argv); -- 2.30.2