Skip to content

Commit 9518cd1

Browse files
authored
Merge pull request #1354 from nicholasbishop/bishop-set-image-handle-2
uefi-macros: Use uefi::boot::set_image_handle
2 parents caf05ff + 6b9fed1 commit 9518cd1

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)