nfsstat: fix a bug in diff_stats()
authordavid m. richter <richterd@citi.umich.edu>
Tue, 7 Aug 2007 23:53:00 +0000 (19:53 -0400)
committerNeil Brown <neilb@suse.de>
Thu, 9 Aug 2007 01:08:28 +0000 (11:08 +1000)
commit431593f9f485d47aafc7750f356bd45565182c5e
tree1b624d0d69139519724f3fc071ac2f36eca74813
parent2357159ef3896a2f8d3fd74fb5d97a9a7d42986b
nfsstat: fix a bug in diff_stats()

Fix a bug in diff_stats() that causes false-positives in
has_stats(), which can result in a bunch of zeros being displayed instead
of suppressed as intended.

Signed-off-by: David M. Richter <richterd@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/nfsstat/nfsstat.c