@@ -15,7 +15,7 @@ use log::{debug, error, info, trace};
15
15
use std:: prelude:: v1:: * ;
16
16
17
17
use core:: prelude:: v1:: derive;
18
- use guid_create:: { Guid , GUID } ;
18
+ use guid_create:: { GUID , Guid } ;
19
19
20
20
#[ cfg( target_os = "linux" ) ]
21
21
use std:: fs;
@@ -506,8 +506,8 @@ pub fn get_esrt() -> Option<Esrt> {
506
506
let mut table = EfiGetTableIoc {
507
507
buf : std:: ptr:: null_mut ( ) ,
508
508
uuid : SYSTEM_RESOURCE_TABLE_GUID_BYTES ,
509
- buf_len : 0 ,
510
509
table_len : 0 ,
510
+ buf_len : 0 ,
511
511
} ;
512
512
unsafe {
513
513
let fd = file. as_raw_fd ( ) ;
@@ -532,7 +532,7 @@ pub const SYSTEM_RESOURCE_TABLE_GUID: GUID = GUID::build_from_components(
532
532
& [ 0x99 , 0x29 , 0x78 , 0xf8 , 0xb0 , 0xd6 , 0x21 , 0x80 ] ,
533
533
) ;
534
534
pub const SYSTEM_RESOURCE_TABLE_GUID_BYTES : [ u8 ; 16 ] = [
535
- 0xb1 , 0x22 , 0xa2 , 0x63 , 0x36 , 0x61 , 0x4f , 0x68 , 0x99 , 0x29 , 0x78 , 0xf8 , 0xb0 , 0xd6 , 0x21 , 0x80 ,
535
+ 0x63 , 0xa2 , 0x22 , 0xb1 , 0x61 , 0x36 , 0x68 , 0x4f , 0x99 , 0x29 , 0x78 , 0xf8 , 0xb0 , 0xd6 , 0x21 , 0x80 ,
536
536
] ;
537
537
538
538
#[ cfg( feature = "uefi" ) ]
0 commit comments