1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 20:25:25 +03:00

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); 120 * USEC_PER_SEC);
} }
#else #else
static int add_esp(const char *what) { static int add_esp(DissectedPartition *p) {
return 0; return 0;
} }
#endif #endif