git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
478e194
)
fish: Fix '-N part' disk partition type sub-option.
author
Richard Jones
<rjones@redhat.com>
Fri, 21 May 2010 13:51:29 +0000
(14:51 +0100)
committer
Richard Jones
<rjones@redhat.com>
Fri, 21 May 2010 13:51:53 +0000
(14:51 +0100)
fish/prep.c
patch
|
blob
|
history
diff --git
a/fish/prep.c
b/fish/prep.c
index
6fe4ba9
..
7186622
100644
(file)
--- 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));
}