sbin/hammer: Fix boundary test on hammer show [1/3]
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 30 Aug 2015 07:07:20 +0000 (16:07 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 4 Sep 2015 16:15:27 +0000 (01:15 +0900)
commit8598fe3e017fe6fd9e6862fc04fbe610bc6d8653
tree0f82f5f5bf4da5e03e29de7303d5850aa2a54878
parent001e28bca28db1fa2aad887b57ef517ee84d79e6
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.
sbin/hammer/cmd_show.c