summaryrefslogtreecommitdiffstats
path: root/libiptc
diff options
context:
space:
mode:
Diffstat (limited to 'libiptc')
-rw-r--r--libiptc/libiptc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libiptc/libiptc.c b/libiptc/libiptc.c
index 60c676c8..c7dffcae 100644
--- a/libiptc/libiptc.c
+++ b/libiptc/libiptc.c
@@ -1445,6 +1445,11 @@ subtract_counters(STRUCT_COUNTERS *answer,
{
answer->pcnt = a->pcnt - b->pcnt;
answer->bcnt = a->bcnt - b->bcnt;
+
+ fprintf(stderr, "pcnt: %llu - %llu = %llu\n",
+ a->pcnt, b->pcnt answer->pcnt);
+ fprintf(stderr, "bcnt: %llu - %llu = %llu\n",
+ a->bcnt, b->bcnt answer->bcnt);
}
int