summaryrefslogtreecommitdiffstats
path: root/libiptc/libiptc.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2000-09-04 08:47:23 +0000
committerRusty Russell <rusty@rustcorp.com.au>2000-09-04 08:47:23 +0000
commite1ef1b1ef42e8e2b62488624c6a44c6db63e4895 (patch)
tree1fcabf75c64b2c65389b0b129abefc2a982cdf69 /libiptc/libiptc.c
parent54c307e0ff401f40a6fe382af4ae5bff0f5b40ba (diff)
More debugging.
Diffstat (limited to 'libiptc/libiptc.c')
-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