]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/efivars.h
bootspec: fix build when EFI support is disabled
[thirdparty/systemd.git] / src / shared / efivars.h
index 49d1b338fbd8bff94b20a5389f360d86d67cee0e..1346da9323d8585173ee5744ab2b05e5aaceae70 100644 (file)
@@ -79,6 +79,10 @@ static inline int efi_set_reboot_to_firmware(bool value) {
         return -EOPNOTSUPP;
 }
 
+static inline char* efi_variable_path(sd_id128_t vendor, const char *name) {
+        return NULL;
+}
+
 static inline int efi_get_variable(sd_id128_t vendor, const char *name, uint32_t *attribute, void **value, size_t *size) {
         return -EOPNOTSUPP;
 }