No need to parse partition number more than necessary. Just pass
authorkrw <krw@openbsd.org>
Fri, 11 Jun 2021 00:14:50 +0000 (00:14 +0000)
committerkrw <krw@openbsd.org>
Fri, 11 Jun 2021 00:14:50 +0000 (00:14 +0000)
commitc2b81596acdc50d66a38d07d7242dbbda8bd582b
tree7e875dfba767183d69a7d96a6391cb92579de7bb
parentdaca582a2cbb7d27d721d75b86ebe7d300976df7
No need to parse partition number more than necessary. Just pass
a parsed number to the helper functions gedit() and gsetpid().

No functional change.
sbin/fdisk/cmd.c