git: sbin/hammer: Fix boundary test on hammer show [1/3]

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Fri Sep 4 10:57:32 PDT 2015


commit 8598fe3e017fe6fd9e6862fc04fbe610bc6d8653
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Aug 30 16:07:20 2015 +0900

    sbin/hammer: Fix boundary test on hammer show [1/3]
    
    This commit actually doesn't fix anything, but just to make
    get_elm_flags() take elm index instead of btype.
    
    get_elm_flags() needs elm index to correctly test boundary
    and non-boundary elements. btype can be retrieved from elm
    itself, so it doesn't need to be passed as an argument.
    
    XXX part is where it needs to be fixed.

Summary of changes:
 sbin/hammer/cmd_show.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8598fe3e017fe6fd9e6862fc04fbe610bc6d8653


-- 
DragonFly BSD source repository



More information about the Commits mailing list