From 48a216a06d6fdab3c8292c383a37cd990c0bf939 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 21 May 2010 14:51:29 +0100 Subject: [PATCH] fish: Fix '-N part' disk partition type sub-option. --- fish/prep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/prep.c b/fish/prep.c index 6fe4ba9..7186622 100644 --- a/fish/prep.c +++ b/fish/prep.c @@ -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)); } -- 1.8.3.1