git: sbin/hammer: Increment recovery scan offset regardless of get_buffer() result

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Aug 10 23:24:18 PDT 2016


commit a19bad8990fe1a766f630d970e25cf258d6cbf08
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Aug 11 14:53:37 2016 +0900

    sbin/hammer: Increment recovery scan offset regardless of get_buffer() result
    
    otherwise the loop may become an infinite loop though that's not
    likely to actually happen in this case.

Summary of changes:
 sbin/hammer/cmd_recover.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list