summaryrefslogtreecommitdiffstats
path: root/libiptc
diff options
context:
space:
mode:
authorrusty <rusty>2000-09-04 08:47:23 +0000
committerrusty <rusty>2000-09-04 08:47:23 +0000
commitaaf59fac4c935a221082f928cb821a2190b711a5 (patch)
tree1fcabf75c64b2c65389b0b129abefc2a982cdf69 /libiptc
parent43cd56aac8c61ae55107954bf4a0feb137ba80b2 (diff)
More debugging.
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 60c676c..c7dffca 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