]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
gpt-auto-generator: rename add_boot() → add_esp()
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Dec 2016 18:37:49 +0000 (19:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 20 Dec 2016 19:00:09 +0000 (20:00 +0100)
After all, the call doesn't necessarily mount /boot anymore, but possibly /efi
now.

src/gpt-auto-generator/gpt-auto-generator.c

index 0f95f0d813bf51a88fe1a37d718792a5de2dc88c..a60905de9424c22685d8dc84b603a10541c5ac6f 100644 (file)
@@ -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;
         }