CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2023/01/21 09:20:25

Modified files:
        sbin/disklabel : editor.c 

Log message:
editor_resize(), editor_change(), editor_modify() and
editor_name() use identical logic to choose a partition to act
on, with some minor verbiage differences.

Extract getpartno() to contain/tighten this logic and shrink the
editor_* functions by using it.

No intentional functional change but for verbiage tweaks.

Reply via email to