CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2023/04/07 08:42:51
Modified files: sbin/fdisk : part.c part.h Log message: Add helper functions find_mbr_desc() and find_gpt_desc() to allow checking mbr_type[N].mt_desc and gpt_type[N].gt_desc before using name on menu when printing out partition tables. Tweak logic in find_mbr_type() and find_gpt_type() to be a bit more paranoid. Tweak function/variable names to be more in line to usage. No functional change as all mt_desc and gt_desc are currently NULL.