summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-15 10:30:21 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-15 16:15:45 +0000
commitb05611d8efbfad10518fe874d53292c6a1b7f2b9 (patch)
tree481ea3691bca66a0f2ed0e3868a221849486f0e1 /daemon
parent79c4ecc0f398d4317a3713e0691df873a7d4b663 (diff)
downloadlibguestfs-b05611d8efbfad10518fe874d53292c6a1b7f2b9.tar.gz
libguestfs-b05611d8efbfad10518fe874d53292c6a1b7f2b9.tar.xz
libguestfs-b05611d8efbfad10518fe874d53292c6a1b7f2b9.zip
Use the new lvcreate-free API to create largest possible LVs.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/lvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/lvm.c b/daemon/lvm.c
index b0148e48..9103a33d 100644
--- a/daemon/lvm.c
+++ b/daemon/lvm.c
@@ -278,7 +278,7 @@ do_lvcreate_free (const char *logvol, const char *volgroup, int percent)
r = command (NULL, &err,
"lvm", "lvcreate",
- "-L", size, "-n", logvol, volgroup, NULL);
+ "-l", size, "-n", logvol, volgroup, NULL);
if (r == -1) {
reply_with_error ("%s", err);
free (err);