Code

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@1054 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_hw.c

index 5506a497faaacd584bb7f194de3d37254dcb8cbe..dccde506c8fab42a9c8727d011652292eb012bf1 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;
    }