git: sbin/mount_hammer: Fix upper limit of volume num

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Aug 2 00:34:28 PDT 2015


commit 96c170df2bc8a81f46f726e2c432cb12020c8700
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Aug 2 14:32:15 2015 +0900

    sbin/mount_hammer: Fix upper limit of volume num
    
    (ac - 1) is for the command arg which is in blkdevs format.
    info.nvolumes is the number of volumes after dissecting blkdevs format.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/96c170df2bc8a81f46f726e2c432cb12020c8700


-- 
DragonFly BSD source repository



More information about the Commits mailing list