git: sbin/mount_hammer: Minor fix and cleanups

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Oct 10 05:46:00 PDT 2015


commit aeb72a172c89c4c7daa5e9b35b5b3062d52db799
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Sep 25 21:13:03 2015 +0900

    sbin/mount_hammer: Minor fix and cleanups
    
    (Note that -Werror=cast-qual doesn't allow freeing info->volumes[i].
    It was better without const given that blkdevs format arg requires
    parsing + strdup)

Summary of changes:
 sbin/mount_hammer/mount_hammer.c | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list