git: sbin/newfs_hammer2: Use uuid_create(3) rather than uuidgen(2)

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Apr 19 00:33:12 PDT 2023


commit 883b5705df3e2035b402cc052b523dbe6b9709e4
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Apr 19 00:20:14 2023 -0700

    sbin/newfs_hammer2: Use uuid_create(3) rather than uuidgen(2)
    
    for portability.
    uuid_create(3), which is a wrapper over uuidgen(2) in DragonFly,
    is the common interface among *BSD's.
    
    The code has been using uuid(3) functions except for creation.

Summary of changes:
 sbin/newfs_hammer2/mkfs_hammer2.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/883b5705df3e2035b402cc052b523dbe6b9709e4


-- 
DragonFly BSD source repository


More information about the Commits mailing list