]> code.delx.au - refind/blobdiff - EfiLib/legacy.c
Fixed uninitialized-pointer bug that manifested as a crash with
[refind] / EfiLib / legacy.c
index 58242970913a56967cd32bbe79ce58f2310fd1db..3e5edee4746903c1dae588ded1d3e22f19ca1e10 100644 (file)
@@ -23,7 +23,7 @@
 #define EfiReallocatePool ReallocatePool
 #define EfiLibLocateProtocol LibLocateProtocol
 #else
-#include "tiano_includes.h"
+#include "../include/tiano_includes.h"
 #endif
 #include "legacy.h"
 #include "GenericBdsLib.h"
@@ -982,7 +982,7 @@ BdsDeleteAllInvalidLegacyBootOptions (
 
     //
     // Skip Non-Legacy boot option
-    // 
+    //
     if (!BdsIsLegacyBootOption (BootOptionVar, &BbsEntry, &BbsIndex)) {
       if (BootOptionVar!= NULL) {
         FreePool (BootOptionVar);