Skip to content

Commit 6b9fed1

Browse files
uefi-macros: Use uefi::boot::set_image_handle
1 parent 26d3b74 commit 6b9fed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uefi-macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
229229
0,
230230
parse_quote! {
231231
unsafe {
232-
#system_table_ident.boot_services().set_image_handle(#image_handle_ident);
232+
::uefi::boot::set_image_handle(#image_handle_ident);
233233
::uefi::table::set_system_table(#system_table_ident.as_ptr().cast());
234234
}
235235
},

0 commit comments

Comments
 (0)