summaryrefslogtreecommitdiff
path: root/src/gpt-auto-generator
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-12-08 19:37:49 +0100
committerLennart Poettering <lennart@poettering.net>2016-12-20 20:00:09 +0100
commitae59114af9b33257e5121a24dfcca3834cf6d46f (patch)
tree38d635b62ba1479cff355f8acb7204d70176e78e /src/gpt-auto-generator
parent9ffcff0e0a3ede3f4c227327cb1a96a436386f4f (diff)
gpt-auto-generator: rename add_boot() → add_esp()
After all, the call doesn't necessarily mount /boot anymore, but possibly /efi now.
Diffstat (limited to 'src/gpt-auto-generator')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index 0f95f0d813..a60905de94 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -449,7 +449,7 @@ static int add_automount(
return 0;
}
-static int add_boot(const char *what) {
+static int add_esp(const char *what) {
const char *esp;
int r;
@@ -547,7 +547,7 @@ static int add_boot(const char *what) {
120 * USEC_PER_SEC);
}
#else
-static int add_boot(const char *what) {
+static int add_esp(const char *what) {
return 0;
}
#endif
@@ -789,7 +789,7 @@ static int enumerate_partitions(dev_t devnum) {
}
if (boot) {
- k = add_boot(boot);
+ k = add_esp(boot);
if (k < 0)
r = k;
}