the last_ds value fuer unknown is 'U' and not 'UNKN'
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 12 May 2008 13:22:26 +0000 (13:22 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 12 May 2008 13:22:26 +0000 (13:22 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1339 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_create.c

index b3b7077..6dfc0fa 100644 (file)
@@ -700,7 +700,7 @@ int rrd_create_fn(
         return (-1);
     }
 
-    strcpy(rrd->pdp_prep->last_ds, "UNKN");
+    strcpy(rrd->pdp_prep->last_ds, "U");
 
     rrd->pdp_prep->scratch[PDP_val].u_val = 0.0;
     rrd->pdp_prep->scratch[PDP_unkn_sec_cnt].u_cnt =