print the name of the HW cf in debug mode -- Helge Oldach
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 6 May 2007 08:50:11 +0000 (08:50 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 6 May 2007 08:50:11 +0000 (08:50 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1054 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd_hw.c

index 5506a49..dccde50 100644 (file)
@@ -474,7 +474,7 @@ erase_violations(rrd_t *rrd, unsigned long cdp_idx, unsigned long rra_idx)
    {
 #ifdef DEBUG
          fprintf(stderr,"erase_violations called for non-FAILURES RRA: %s\n",
-            rrd -> rra_def[rra_idx].cf);
+            rrd -> rra_def[rra_idx].cf_nam);
 #endif
          return;
    }