gpt-auto-generator: fix warning when compiling w/o efi (#5456)

Fixes #5452.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-02-26 02:24:39 -05:00
committed by Martin Pitt
parent 9c7f7d86f8
commit d97beb0e16

View 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