summaryrefslogtreecommitdiff
path: root/src/gpt-auto-generator/gpt-auto-generator.c
diff options
context:
space:
mode:
authorMarius Thesing <marius.thesing@gmail.com>2015-09-08 21:25:05 +0200
committerMarius Thesing <marius.thesing@gmail.com>2015-09-08 21:30:34 +0200
commit158df4b6a63c0d4e4f8de5210581619e7b693fb4 (patch)
tree913f26c6c1f03266343a1ae3904bbfd8ac3427cb /src/gpt-auto-generator/gpt-auto-generator.c
parentda323858ef34a0216aa96f4089810053c90f09ce (diff)
gpt-auto: fix ESP options and description
Since 59512f21 the parameters were passed in the wrong order, causing the options to be interpreted as the description. Also, while "false" was supposed to be passed for "rw", the ESP should actually be mounted read-write. It just happened to be "true" since the description char* was passed for "rw".
Diffstat (limited to 'src/gpt-auto-generator/gpt-auto-generator.c')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index c97be2dabf..bb821797f1 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -526,9 +526,9 @@ static int add_boot(const char *what) {
what,
"/boot",
"vfat",
- "EFI System Partition Automount",
- false,
+ true,
"umask=0077",
+ "EFI System Partition Automount",
120 * USEC_PER_SEC);
return r;