Changeset 99424 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 17, 2023 3:20:42 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156878
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/NvramStoreImpl.cpp
r99417 r99424 745 745 { 746 746 /* Try to parse it as an EFI variable store. */ 747 RTERRINFOSTATIC ErrInfo; 747 748 RTVFS hVfsEfiVarStore; 748 vrc = RTEfiVarStoreOpenAsVfs(hVfsFileNvram, RTVFSMNT_F_READ_ONLY, 0 /*fVarStoreFlags*/, &hVfsEfiVarStore,749 NULL /*pErrInfo*/);749 vrc = RTEfiVarStoreOpenAsVfs(hVfsFileNvram, RTVFSMNT_F_READ_ONLY, 0 /*fVarStoreFlags*/, 750 &hVfsEfiVarStore, RTErrInfoInitStatic(&ErrInfo)); 750 751 if (RT_SUCCESS(vrc)) 751 752 { … … 779 780 } 780 781 else 781 LogRel(("Opening the UEFI variable store '%s' failed with %Rrc \n", pszPath, vrc));782 LogRel(("Opening the UEFI variable store '%s' failed with %Rrc%RTeim\n", pszPath, vrc, &ErrInfo.Core)); 782 783 783 784 RTVfsFileRelease(hVfsFileNvram); … … 799 800 } 800 801 else 802 { 801 803 LogRelMax(10, ("NVRAM store '%s' exceeds limit of %u bytes, actual size is %u\n", 802 804 pszPath, _1M, cbStore)); 805 vrc = VERR_OUT_OF_RANGE; 806 } 803 807 } 804 808 else if (vrc == VERR_FILE_NOT_FOUND) /* Valid for the first run where no NVRAM file is there. */
Note:
See TracChangeset
for help on using the changeset viewer.