]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
gpt-auto-generator: fix warning when compiling w/o efi (#5456)
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 26 Feb 2017 07:24:39 +0000 (02:24 -0500)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Sun, 26 Feb 2017 07:24:39 +0000 (08:24 +0100)
Fixes #5452.

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

index b958070c903b926863753671724a849e96c958f8..80f676e477b83353aa37aebc06a8778be3237362 100644 (file)
@@ -475,7 +475,7 @@ static int add_esp(DissectedPartition *p) {
                              120 * USEC_PER_SEC);
 }
 #else
-static int add_esp(const char *what) {
+static int add_esp(DissectedPartition *p) {
         return 0;
 }
 #endif