git: contrib/lvm2: Remove unnecessary space at the end of line

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Nov 19 05:50:00 PST 2015


commit 300c4de4a1b8efddbb8c825a33cc38d33c91bd81
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Nov 18 21:04:47 2015 +0900

    contrib/lvm2: Remove unnecessary space at the end of line
    
    Having " %s" at the end of printf format prints unnecessary
    space at the end of line when dm targets have nothing to print
    for dmsetup status/table.
    
    If dm targets don't implement status/table, use printf format
    without " %s", since those targets only initialize the string
    with "".
    
    (This fix doesn't exist in upstream lvm2)

Summary of changes:
 contrib/lvm2/dist/tools/dmsetup.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/300c4de4a1b8efddbb8c825a33cc38d33c91bd81


-- 
DragonFly BSD source repository



More information about the Commits mailing list