Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd44c314

Browse files
Merge pull request#1308 from phip1611/misc
misc small improvements
2 parents86608f3 +94b4bfe commitd44c314

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎uefi/src/mem/util.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ pub(crate) fn make_boxed<
5454
// Propagate any other error.
5555
Err((status, _)) =>Err(Error::from(status)),
5656
// Success is unexpected, return an error.
57-
Ok(_) =>Err(Error::from(Status::UNSUPPORTED)),
57+
Ok(_) =>{
58+
log::debug!("Got unexpected success status");
59+
Err(Error::from(Status::UNSUPPORTED))
60+
}
5861
}?;
5962

6063
// We add trailing padding because the size of a rust structure must

‎uefi/src/table/boot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ impl super::Table for BootServices {
13871387
/// image source.
13881388
#[derive(Debug)]
13891389
pubenumLoadImageSource<'a>{
1390-
/// Load an image from a buffer. The data will copied from the
1390+
/// Load an image from a buffer. The data willbecopied from the
13911391
/// buffer, so the input reference doesn't need to remain valid
13921392
/// after the image is loaded.
13931393
FromBuffer{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp