In DragonFly, gpt partitions look like slices in /dev, and we match the
commitc4de311a70d58323cc8e8127ae9cb914c4da22d9
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 17 Jul 2008 01:15:59 +0000 (17 01:15 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 17 Jul 2008 01:15:59 +0000 (17 01:15 +0000)
treec297343f1227b03d3be65aa9e7d79ed1b1db934b
parent9009f986a81cdc6b30fa564b97b6ec4b86831ff2
In DragonFly, gpt partitions look like slices in /dev, and we match the
slice number to the GPT index to avoid confusion.

Fix the reporting of the slice in 'gpt add' (it was off by 1).
sbin/gpt/add.c