mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
fish: Fix '-N part' disk partition type sub-option.
This commit is contained in:
@@ -268,7 +268,7 @@ prelaunch_part (const char *filename, prep_data *data)
|
||||
static void
|
||||
postlaunch_part (const char *filename, prep_data *data, const char *device)
|
||||
{
|
||||
if (guestfs_part_disk (g, device, data->params[2]) == -1)
|
||||
if (guestfs_part_disk (g, device, data->params[1]) == -1)
|
||||
prep_error (data, filename, _("failed to partition disk: %s"),
|
||||
guestfs_last_error (g));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user