sbin/hammer: Properly set counter in cache flushing loop
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 16 Mar 2015 16:34:40 +0000 (01:34 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Mon, 16 Mar 2015 17:24:02 +0000 (02:24 +0900)
commitef5468da3d1ffe216099b5f0271428d7381022c4
treefc4c5cc1b52f13afcd426bbbf09a45cebc0065b3
parent1d05d4e03a2f82282efeeedc107aa9dae1cad60a
sbin/hammer: Properly set counter in cache flushing loop

- This local variable 'count' being reset to 0 was probably intended
  to be set to 1, because otherwise --count; right after this makes
  it negative (which takes extra count before next CacheMax expansion).
  This makes no difference to results of hammer commands.
sbin/hammer/cache.c