git: sbin/hammer: Properly set counter in cache flushing loop

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Mar 16 10:26:31 PDT 2015


commit ef5468da3d1ffe216099b5f0271428d7381022c4
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Mar 17 01:34:40 2015 +0900

    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.

Summary of changes:
 sbin/hammer/cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ef5468da3d1ffe216099b5f0271428d7381022c4


-- 
DragonFly BSD source repository



More information about the Commits mailing list