summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
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);