git: boot0cfg: use getdevpath() instead of custom function

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Dec 24 09:48:07 PST 2015


commit df183f17b1467b0672c6c7e0ab6f0c8cb895edc6
Author: Alexander Kuleshov <kuleshovmail at gmail.com>
Date:   Wed Dec 23 20:22:06 2015 +0600

    boot0cfg: use getdevpath() instead of custom function
    
    We are using mkrdev function in the boot0cfg.c to prduce a device
    path from the given command line argument. The <fstab.h> provides
    the getdevpath() function that does the same but in more general
    way. Let's use function from the libc instead of custom.

Summary of changes:
 usr.sbin/boot0cfg/boot0cfg.c | 28 ++++++----------------------
 1 file changed, 6 insertions(+), 22 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list