git: gpt(8): Clean up add.c

Aaron LI aly at crater.dragonflybsd.org
Wed Feb 18 06:32:40 PST 2026


commit 2413f453b31b08e23d28194bfe5983eb7dbc222a
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Sep 1 09:44:13 2025 +0800

    gpt(8): Clean up add.c
    
    - Clearly report the reasons of argument errors.
    - Reuse parse_uuid() instead of uuid_name_lookup() to find the UUID for
      "DragonFly Label64".
    - Tweak the 'size' in add_defaults() and add comments.

Summary of changes:
 sbin/gpt/add.c | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2413f453b31b08e23d28194bfe5983eb7dbc222a


-- 
DragonFly BSD source repository


More information about the Commits mailing list