summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-26 02:24:39 -0500
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-02-26 08:24:39 +0100
commitd97beb0e16550fcae1ebbd76ba6d340690c0f4f0 (patch)
treecd399823747fbe5c076f88d68e6013b430522270 /src
parent9c7f7d86f86322b76fc903ca8a06b87c4be4bd4a (diff)
gpt-auto-generator: fix warning when compiling w/o efi (#5456)
Fixes #5452.
Diffstat (limited to 'src')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index b958070c90..80f676e477 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -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