]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/bootspec.h
efi: rework find_esp() error propagation/logging a bit
[thirdparty/systemd.git] / src / shared / bootspec.h
index fb8c10a69aed736644bac4a3b73d303fde3858e4..d9c641bf081bb740e30d6ccbd91e66331bf5fb32 100644 (file)
@@ -61,5 +61,4 @@ static inline const char* boot_entry_title(const BootEntry *entry) {
         return entry->show_title ?: entry->title ?: entry->filename;
 }
 
-int find_esp(char **path,
-             uint32_t *part, uint64_t *pstart, uint64_t *psize, sd_id128_t *uuid);
+int find_esp_and_warn(const char *path, bool unprivileged_mode, char **ret_path, uint32_t *ret_part, uint64_t *ret_pstart, uint64_t *ret_psize, sd_id128_t *ret_uuid);