Skip to content

Commit 0898f2a

Browse files
committed
fix error and info msg
1 parent a365184 commit 0898f2a

File tree

1 file changed

+2
-4
lines changed
  • uefi-test-runner/src/proto

1 file changed

+2
-4
lines changed

uefi-test-runner/src/proto/rng.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use uefi::proto::rng::Rng;
33
use uefi::table::boot::{BootServices, OpenProtocolAttributes, OpenProtocolParams};
44

55
pub fn test(image: Handle, bt: &BootServices) {
6-
info!("Running loaded image protocol test");
6+
info!("Running rng protocol test");
77

88
let rng = bt
99
.open_protocol::<Rng>(
@@ -14,8 +14,6 @@ pub fn test(image: Handle, bt: &BootServices) {
1414
},
1515
OpenProtocolAttributes::Exclusive,
1616
)
17-
.expect_success("Failed to open LoadedImage protocol");
17+
.expect_success("Failed to open Rng protocol");
1818
let _rng = unsafe { &*rng.interface.get() };
19-
20-
info!("Rng loaded !");
2119
}

0 commit comments

Comments
 (0)