Use getpartno() in editor_delete(), enhancing getpartno() to
authorkrw <krw@openbsd.org>
Wed, 25 Jan 2023 21:44:08 +0000 (21:44 +0000)
committerkrw <krw@openbsd.org>
Wed, 25 Jan 2023 21:44:08 +0000 (21:44 +0000)
commit81f2740f0a58f27703345a5bc175a8d3d87eb4a2
tree50a27d6d57be8193067268bf0228bece6feb660a
parent99a8c03ea500ea834cd0ac62431ef4196ce6a0f2
Use getpartno() in editor_delete(), enhancing getpartno() to
allow '*' to select all partitions when the action is 'delete'.

No intentional functional change.
sbin/disklabel/editor.c